Check persistent integration token existence

GET /tokens/persistent/{audience}

Path parameters

  • audience string Required

    Integration token audience

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

Responses

  • 200 application/json

    Token state

    Hide response attribute Show response attribute object
    • exists boolean
  • 400 application/json

    Invalid audience

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

    Unauthorized

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