how to Create Your Own API Action protected with jwt

need help on how to create Your Own API Action secured with jwt token

Read help file topic: REST API → Authenticate User with JWT.