Skip to content
Navigation

List sender IDs for a recipient

Returns the sender IDs you can use to message a specific recipient number, based on its country.

GET
https://app.touchsms.com.au/api/v2/account/sender-ids/for/{number}

Authorization

  • basicAuth
    HTTP
    required

Path parameters

  • number
    string
    required

    Recipient phone number, ideally in E.164 format.

Query parameters

  • message_type
    optional
    sms
    or
    mms

    Return sender IDs that can send this type of message.

    default: "sms"

Returns

200

Sender IDs usable for this recipient.

JSON
  • data
    optional
    array of
    object
    • type
      optional
      own
      or
      shared
      or
      dedicated
      or
      verified
      or
      custom
    • type_description
      optional
      string
    • sender_id
      optional
      string

      Value to pass as from when sending.

    • label
      optional
      string
    • enabled
      optional
      boolean
    • default
      optional
      boolean

      Whether this is your default sender ID.

    • acma_unverified
      optional
      boolean

      The sender ID is not yet registered with the ACMA Sender ID Register.

    • verify_url
      optional
      string | null

      Where to complete registration, if required.

401

Missing, malformed or invalid API credentials.
JSON
  • message
    string
    required

422

The request failed validation. errors lists the messages for each invalid field.
JSON
  • message
    optional
    string
  • errors
    optional
    map of
    array<string>

Type to search…

↑↓ navigate↵ selectEsc close