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
    • code integer
    • message string
    • data
    • error string
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data
    • error string
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)
{
  "code": 42,
  "message": "string",
  "error": "string"
}
Response examples (401)
{
  "code": 42,
  "message": "string",
  "error": "string"
}