Fetch a specific AuthorizationDocument.

GET /v2/HostedNumber/AuthorizationDocuments/{Sid}

Fetch a specific AuthorizationDocument.

Path parameters

  • Sid string Required

    A 34 character string that uniquely identifies this AuthorizationDocument.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^PX[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

      A 34 character string that uniquely identifies this AuthorizationDocument.

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

    • address_sid string | null

      A 34 character string that uniquely identifies the Address resource that is associated with this AuthorizationDocument.

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

    • status string

      Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled Status Values for more information on each of these statuses.

      Values are opened, signing, signed, canceled, or failed.

    • email string | null

      Email that this AuthorizationDocument will be sent to for signing.

    • cc_emails array[string] | null

      Email recipients who will be informed when an Authorization Document has been sent and signed.

    • date_created string(date-time) | null

      The date this resource was created, given as GMT RFC 2822 format.

    • date_updated string(date-time) | null

      The date that this resource was updated, given as GMT RFC 2822 format.

    • url string(uri) | null
GET /v2/HostedNumber/AuthorizationDocuments/{Sid}
curl \
 --request GET 'https://numbers.twilio.com/v2/HostedNumber/AuthorizationDocuments/{Sid}' \
 --user "username:password"
Response examples (200)
{
  "sid": "PXaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "url": "https://numbers.twilio.com/v2/HostedNumber/AuthorizationDocuments/PXaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "email": "test@twilio.com",
  "links": {
    "dependent_hosted_number_orders": "https://numbers.twilio.com/v2/HostedNumber/AuthorizationDocuments/PXaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/DependentHostedNumberOrders"
  },
  "status": "signing",
  "cc_emails": [
    "aaa@twilio.com",
    "bbb@twilio.com"
  ],
  "address_sid": "AD11111111111111111111111111111111",
  "date_created": "2017-03-28T20:06:39Z",
  "date_updated": "2017-03-28T20:06:39Z"
}