SSoftLinkSMSDocs
Sending access

What this account can send

GET
/api/v1/sending-profile

Every channel × traffic class combination with its status: active (send now), in_review, action_required (finish or fix your access request), available (apply via POST /access-requests) or unavailable (not offered). Active entries include the sender ID messages go out as.

Authorization

apiKeyAuth
headerX-Api-Key<token>

Your API key, sent as X-Api-Key. Format bsk_<key_id>.<secret>. Create one in the dashboard under Settings → Developer tools.

Response Body

application/json
  1. response
account_id*integer
capabilities*array<>
Example Request
curl -X GET 'https://api.softlinksms.co.ke/api/v1/sending-profile'
Example Response
{  "account_id": 1042,  "capabilities": [    {      "channel": "sms",      "traffic_class": "promotional",      "status": "active",      "can_send": true,      "source": "default",      "sender_id": "SOFTLINK",      "access_request_id": null,      "reason": ""    },    {      "channel": "sms",      "traffic_class": "transactional",      "status": "available",      "can_send": false,      "source": null,      "sender_id": null,      "access_request_id": null,      "reason": ""    },    {      "channel": "email",      "traffic_class": "promotional",      "status": "unavailable",      "can_send": false,      "source": null,      "sender_id": null,      "access_request_id": null,      "reason": "Promotional email isn't offered. Email is for transactional messages (receipts, codes, alerts) and needs approval."    },    {      "channel": "email",      "traffic_class": "transactional",      "status": "in_review",      "can_send": false,      "source": null,      "sender_id": null,      "access_request_id": "8f0c6a5e-2a5d-4c47-9d0b-2f1f8f0e4b11",      "reason": ""    }  ]}