Authentication

Authenticate with API key

Exchange a NachoNacho API key for a short-lived JWT.

Authentication Flow

  1. Obtain an API key from your NachoNacho account dashboard (format: NN_live_<key>)
  2. Call POST /auth with your API key to receive a short-lived JWT
  3. Use that JWT as a Bearer token on all subsequent requests
post/auth

Request body

apiKeystring required

Your NachoNacho API key (format NN_live_<key>)

Example request

{
  "apiKey": "NN_live_9W..."
}

Response

JWT token issued successfully

access_tokenstring

JWT to use as Bearer token on subsequent requests

Example response

{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.