# Generate JWT **POST /api/rest/auth** Generates a JWT access token using your Rayo API key. You must send the API key in the `x-api-key` request header. ## Servers - Production: https://cerebro.techrayo.com (Production) - QA Sandbox: https://qa.cerebro.techrayo.com (QA Sandbox) ## Authentication methods - Apikey auth ## Parameters ### Headers - **x-api-key** (string) Rayo API key generated in Ava Platform ## Responses ### 200 JWT generated successfully #### Body: application/json (object) - **AuthWithAPIkey** (object) ### 500 Internal server error #### Body: application/json (object) - **error** (string) - **code** (string) - **path** (string) ### default Unexpected error #### Body: application/json (object) - **error** (string) - **code** (string) - **path** (string) [Powered by Bump.sh](https://bump.sh)