API Docs

Sender names

Request, manage and share the names your messages are sent from.

A sender name (sender ID) is what recipients see in place of a phone number — for example NBM or NBMSHOP. Networks require every name to be reviewed, so you request it here and use it once it's approved.

Request a sender name

POST/sender-namesAPI key

Submits a new name for review. It starts as requested; you'll get a webhook when it is approved or declined. Review usually takes 1–3 working days, as each mobile network registers the name.

Body
namestringrequired
Up to 11 characters: letters, digits and spaces. Should match your business or brand.
reasonstringrequired
What you'll send with it. A clear reason speeds up approval.
is_defaultbooleanoptionaldefault: false
Use this name when a send doesn't give sender_name.
Errors
StatuserrorWhen it happens
400validation_errorname or reason missing, or name longer than 11 characters.
400creation_errorThe name is already taken.
curl -X POST https://sms.nbmbrand.com/api/v1/sender-names \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "NBMSHOP",
    "reason": "Order and delivery updates for customers of NBM Shop",
    "is_default": false
  }'
Response
201 Created
{
  "success": true,
  "status_code": 201,
  "status_text": "Created",
  "message": "sender name has been requested",
  "data": {
    "id": "9a1c1e2a-4b0e-4e9a-9a2e-1a2b3c4d5e6f",
    "name": "NBMSHOP",
    "status": "requested",
    "is_default": false,
    "is_disabled": false,
    "created_at": "2026-11-20T08:00:00Z"
  }
}

List sender names

GET/sender-namesAPI key

Returns names you created, names assigned to you and shared defaults. Resellers also see their customers' names. Paginated as usual.

Query
statusstringoptional
requested, approved or declined.
page / limit / sort_by / sort_dir—optional

Names you own also include created_by, updated_by, users(who it's assigned to), reseller_id and api_key_id; shared names show only the basic fields.

curl "https://sms.nbmbrand.com/api/v1/sender-names?status=approved&limit=20" \
  -H "Authorization: Bearer $API_KEY"
Response
200 OK
{
  "success": true,
  "status_code": 200,
  "status_text": "OK",
  "message": "sender names have been fetched",
  "data": {
    "data": [
      {
        "id": "9a1c1e2a-4b0e-4e9a-9a2e-1a2b3c4d5e6f",
        "name": "NBMSHOP",
        "status": "approved",
        "is_default": false,
        "is_disabled": false,
        "created_at": "2026-11-20T08:00:00Z",
        "created_by": "2f0b6c1d-1e2a-4b3c-8d9e-0f1a2b3c4d5e",
        "created_by_name": "Shop API",
        "updated_by": "7e6d5c4b-3a29-4180-9f7e-6d5c4b3a2918",
        "updated_by_name": "NBM review team",
        "updated_at": "2026-11-21T10:30:00Z",
        "reseller_id": null,
        "users": [
          "3c2b1a09-8f7e-4d6c-9b5a-4c3b2a190807"
        ],
        "api_key_id": "1d9b7e3a-2f7e-4b3e-9d0a-8c1a6b2e4f5c"
      }
    ],
    "total": 1,
    "page": 1,
    "limit": 20,
    "total_pages": 1,
    "has_next_page": false,
    "has_previous_page": false,
    "next_page": null,
    "previous_page": null
  }
}

Search sender names

GET/sender-names/searchAPI key

Same as List, plus a required search term matched against the name and status.

curl "https://sms.nbmbrand.com/api/v1/sender-names/search?search=NBM" \
  -H "Authorization: Bearer $API_KEY"

Get a sender name

GET/sender-names/{id}API key

Fetches one sender name by id.

Path
iduuidrequired
Sender name id.
curl https://sms.nbmbrand.com/api/v1/sender-names/9a1c1e2a-4b0e-4e9a-9a2e-1a2b3c4d5e6f \
  -H "Authorization: Bearer $API_KEY"
Response
200 OK
{
  "success": true,
  "status_code": 200,
  "status_text": "OK",
  "message": "sender name has been fetched",
  "data": {
    "id": "9a1c1e2a-4b0e-4e9a-9a2e-1a2b3c4d5e6f",
    "name": "NBMSHOP",
    "status": "approved",
    "is_default": false,
    "is_disabled": false,
    "created_at": "2026-11-20T08:00:00Z",
    "created_by": "2f0b6c1d-1e2a-4b3c-8d9e-0f1a2b3c4d5e",
    "created_by_name": "Shop API",
    "updated_by": "7e6d5c4b-3a29-4180-9f7e-6d5c4b3a2918",
    "updated_by_name": "NBM review team",
    "updated_at": "2026-11-21T10:30:00Z",
    "reseller_id": null,
    "users": [
      "3c2b1a09-8f7e-4d6c-9b5a-4c3b2a190807"
    ],
    "api_key_id": "1d9b7e3a-2f7e-4b3e-9d0a-8c1a6b2e4f5c"
  }
}

Update a sender name

PUT/sender-names/{id}API key

Changes a name you own (resellers: also your customers'). Changing the text of an approved name sends it back for review.

Body
namestringrequired
Up to 11 characters.
is_defaultbooleanoptional
Make it your default sender name.
curl -X PUT https://sms.nbmbrand.com/api/v1/sender-names/9a1c1e2a-4b0e-4e9a-9a2e-1a2b3c4d5e6f \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "NBMSHOP",
    "is_default": true
  }'
Response
200 OK
{
  "success": true,
  "status_code": 200,
  "status_text": "OK",
  "message": "sender name has been updated",
  "data": {
    "id": "9a1c1e2a-4b0e-4e9a-9a2e-1a2b3c4d5e6f",
    "name": "NBMSHOP",
    "status": "approved",
    "is_default": true,
    "is_disabled": false,
    "created_at": "2026-11-20T08:00:00Z",
    "created_by": "2f0b6c1d-1e2a-4b3c-8d9e-0f1a2b3c4d5e",
    "created_by_name": "Shop API",
    "updated_by": "7e6d5c4b-3a29-4180-9f7e-6d5c4b3a2918",
    "updated_by_name": "NBM review team",
    "updated_at": "2026-11-21T10:30:00Z",
    "reseller_id": null,
    "users": [
      "3c2b1a09-8f7e-4d6c-9b5a-4c3b2a190807"
    ],
    "api_key_id": "1d9b7e3a-2f7e-4b3e-9d0a-8c1a6b2e4f5c"
  }
}

Assign users

PATCH/sender-names/{id}/assignAPI key

Lets other users on your account (or a reseller's customers) send with this name.

Body
usersuuid[]required
The complete list of users who may use it.
curl -X PATCH https://sms.nbmbrand.com/api/v1/sender-names/9a1c1e2a-4b0e-4e9a-9a2e-1a2b3c4d5e6f/assign \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "users": [
      "3c2b1a09-8f7e-4d6c-9b5a-4c3b2a190807",
      "5e4d3c2b-1a09-4f8e-8d7c-6b5a4c3b2a19"
    ]
  }'

Delete a sender name

DELETE/sender-names/{id}API key

Deletes a name you own. Scheduled messages using it will fail, so cancel or move them first.

curl -X DELETE https://sms.nbmbrand.com/api/v1/sender-names/9a1c1e2a-4b0e-4e9a-9a2e-1a2b3c4d5e6f \
  -H "Authorization: Bearer $API_KEY"
Response
200 OK
{
  "success": true,
  "status_code": 200,
  "status_text": "OK",
  "message": "sender name has been deleted",
  "data": null
}

Delete several

DELETE/sender-names/bulkAPI key
Body
idsuuid[]required
Ids of sender names to delete.
curl -X DELETE https://sms.nbmbrand.com/api/v1/sender-names/bulk \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "ids": [
      "9a1c1e2a-4b0e-4e9a-9a2e-1a2b3c4d5e6f",
      "0b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e"
    ]
  }'

Review statuses

requested
approveddeclined
FieldValuesMeaning
statusrequested · approved · declinedSet by the NBM review team. You can't approve your own request.
is_disabledtrue · falseAn approved name can be switched off later (e.g. abuse). Disabled names can't send.

The two fields change independently: a name can be approved and disabled at the same time.