POST /tokens/persistent/{audience}

Path parameters

  • audience string Required

    Integration token audience

    Values are phone-island, mobile-app, or nethlink.

Responses

  • 200 application/json

    JWT persistent integration token (exp set to 100 years, aud set to audience)

    Hide response attribute Show response attribute object
    • token string
  • 400 application/json

    Invalid audience

    Hide response attributes Show response attributes object
    • message string
    • error string
  • 401

    Unauthorized

POST /tokens/persistent/{audience}
curl \
 --request POST 'http://localhost:8080/tokens/persistent/{audience}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "token": "string"
}
Response examples (400)
{
  "message": "string",
  "error": "string"
}