Fetch an Access Token for the Entity

GET /v2/Services/{ServiceSid}/AccessTokens/{Sid}

TODO: Resource-level docs

Fetch an Access Token for the Entity

Path parameters

  • ServiceSid string Required

    The unique SID identifier of the Service.

  • Sid string Required

    A 34 character string that uniquely identifies this Access Token.

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • account_sid string | null

      Account Sid.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • date_created string(date-time) | null

      The date this access token was created

    • entity_identity string | null

      Unique external identifier of the Entity

    • A human readable description of this factor.

    • factor_type string | null

      The Type of the Factor

      Value is push.

    • service_sid string | null

      Verify Service Sid.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^VA[0-9a-fA-F]{32}$.

    • sid string | null

      A string that uniquely identifies this Access Token.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^YK[0-9a-fA-F]{32}$.

    • token string | null

      Generated access token.

    • ttl integer | null

      How long, in seconds, the access token is valid.

    • url string(uri) | null

      The URL of this resource.

GET /v2/Services/{ServiceSid}/AccessTokens/{Sid}
curl \
 -X GET https://verify.twilio.com/v2/Services/{ServiceSid}/AccessTokens/{Sid} \
 --user "username:password"
Response examples (200)
{
  "account_sid": "string",
  "date_created": "2023-05-04T09:42:00+00:00",
  "entity_identity": "string",
  "factor_friendly_name": "string",
  "factor_type": "push",
  "service_sid": "string",
  "sid": "string",
  "token": "string",
  "ttl": 42,
  "url": "https://example.com"
}