latestSwagger 2.02026-08-101561322.2 MB

3e4029d19684

Sender IDs

Get the details of a specific Sender ID

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Sender%20IDs/getSenderId" target="_blank">Try in sandbox</a><br>

get/api/v2/senderids/{id}

Path parameters

idinteger required

Response

Sender ID data returned with success.

idinteger required

Numeric sender ID.

displayTimeFormatstring

Format for representation of time.

senderIdstring required

Alphanumeric ID.

status'A' | 'R' | 'P' required
  • P for Pending - this Sender ID is being reviewed by our support team;
  • R for Rejected - our support team rejected your application for this Sender ID;
  • A for Active.

Example response

{
  "id": 37,
  "displayTimeFormat": "24h",
  "senderId": "HotRod",
  "user": {
    "id": 305,
    "displayTimeFormat": "24h",
    "username": "charles.conway",
    "firstName": "Charles",
    "lastName": "Conway",
    "email": "charles@example.com",
    "status": "A",
    "balance": 208.64,
    "phone": "447860021130",
    "company": "Example Ltd.",
    "currency": {
      "id": "GBP",
      "unicodeSymbol": "£",
      "htmlSymbol": "&pound;"
    },
    "country": {
      "id": "US",
      "name": "India"
    },
    "timezone": {
      "id": 55,
      "area": "Europe",
      "dst": 1,
      "offset": 10800,
      "timezone": "Europe\\/Tallinn"
    },
    "subaccountType": "P",
    "emailAccepted": true,
    "phoneAccepted": true,
    "avatar": {
      "href": "avatars/lav5d8de21d89971646555094.png"
    }
  },
  "status": "A"
}