Create Phone Island token (legacy endpoint) Deprecated

POST /authentication/phone_island_token_login
application/json

Body

  • subtype string

    Legacy subtype; "nethlink" maps to nethlink audience, defaults to phone-island

Responses

  • 200 application/json

    JWT persistent integration token

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

    Unauthorized

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data
    • error string
  • 500 application/json

    Failed to generate or persist the token

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data
    • error string
POST /authentication/phone_island_token_login
curl \
 --request POST 'http://localhost:8080/authentication/phone_island_token_login' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"subtype":"string"}'
Request examples
{
  "subtype": "string"
}
Response examples (200)
{
  "token": "string"
}
Response examples (401)
{
  "code": 42,
  "message": "string",
  "error": "string"
}
Response examples (500)
{
  "code": 42,
  "message": "string",
  "error": "string"
}