Fetch a specific verification attempt.

GET /v2/Attempts/{Sid}

Fetch a specific verification attempt.

Path parameters

  • Sid string Required

    The unique SID identifier of a Verification Attempt

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

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

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

      The SID that uniquely identifies the verification attempt resource.

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

    • account_sid string | null

      The SID of the Account that created the Verification resource.

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

    • service_sid string | null

      The SID of the Service used to generate the attempt.

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

    • verification_sid string | null

      The SID of the Verification that generated the attempt.

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

    • date_created string(date-time) | null

      The date that this Attempt was created, given in ISO 8601 format.

    • date_updated string(date-time) | null

      The date that this Attempt was updated, given in ISO 8601 format.

    • conversion_status string

      A string specifying the conversion status of the verification. A conversion happens when the user is able to provide the correct code. Possible values are CONVERTED and UNCONVERTED.

      Values are converted or unconverted.

    • channel string

      A string specifying the communication channel used for the verification attempt.

      Values are sms, call, email, whatsapp, or rbm.

    • price

      An object containing the charge for this verification attempt related to the channel costs and the currency used. The costs related to the succeeded verifications are not included. May not be immediately available. More information on pricing is available here.

    • channel_data

      An object containing the channel specific information for an attempt.

    • url string(uri) | null
GET /v2/Attempts/{Sid}
curl \
 --request GET 'https://verify.twilio.com/v2/Attempts/{Sid}' \
 --user "username:password"
Response examples (200)
{
  "sid": "VLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "url": "https://verify.twilio.com/v2/Attempts/VLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "price": {
    "value": "0.005",
    "currency": "usd"
  },
  "channel": "sms",
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "service_sid": "VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "channel_data": {
    "to": "+573003003030",
    "mcc": "732",
    "mnc": "103",
    "locale": "es",
    "status": "unconfirmed",
    "carrier": "Colombia Movil (Tigo)",
    "country": "CO",
    "error_code": "30008",
    "code_length": 6,
    "message_status": "undelivered",
    "verification_sid": "VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
  },
  "date_created": "2020-08-11T18:36:59Z",
  "date_updated": "2020-08-11T18:37:00Z",
  "verification_sid": "VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "conversion_status": "unconverted"
}