Skip to content
Navigation

Get account details

Returns details of the user the API key belongs to. Also a simple way to check that your credentials work without sending a message.

GET
https://app.touchsms.com.au/api/v2/account

Authorization

  • basicAuth
    HTTP
    required

Returns

200

Account details.

JSON
  • data
    optional
    object
    • id
      optional
      integer
    • firstname
      optional
      string
    • surname
      optional
      string
    • full_name
      optional
      string
    • email
      optional
      string
      format: email
    • mobile
      optional
      string | null
    • credits
      optional
      number

      Current credit balance.

    • settings
      optional
      object
      • timezone
        optional
        string
      • allow_contact_duplicates
        optional
        boolean
      • allow_sms_duplicates
        optional
        boolean
      • email_reply
        optional
        boolean | integer | null

        Whether replies are forwarded by email.

      • email_to_sms_enabled
        optional
        boolean | integer | null

401

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

Type to search…

↑↓ navigate↵ selectEsc close