Create Sender-ids

Create Sender-ids

Create sender-ids using post method under your account

API Endpoint

http://portal.thundersms.com/api/v2/

Note: Few elements in the endpoint may change from service to service.

POST

{endpoint}sms/senders

PARAMETERS

Name optional Descriptions
name No Enter the sender-id that you want to create
country_code No For which country this sender belongs to. 2 letters
service No The short code of the service name. ex: (MKT) full list
entity_id Mixed Input the entity id (required for india)
entity_name Mixed Company name whom this sender belongs to (required for india)

Example Request

cURL - cURL
curl --location --globoff '{endpoint}api/v2/sms/senders' \
--data '{
    "name": "SEN{random}",
    "service": "ENT",
    "country_code": "IN",
    "entity_id": "123233434355345555",
    "entity_name": "SAMPLE COMPANY"
}'

Example Response

{
    "status": "OK",
    "code": 200,
    "message": "Sender Saved Successfully",
    "data": {
        "id": "ff467e28-7170-4a72-952e-c999cxxxxxx",
        "name": "SENDER",
        "service": {
            "id": 55,
            "display_name": "Global SMS",
            "name": "G"
        },
        "entity_name": "SAMPLE COMPANY",
        "entity_id": "123233434355345555",
        "header_id": null,
        "iso": "IN",
        "message": null,
        "document": null,
        "is_open": 0,
        "purpose": 1,
        "status": 1,
        "created_at": "2022-11-16T06:53:26.000000Z",
        "updated_at": "2022-11-16T06:55:55.000000Z"
    }
}