Sending access
What this account can send
GET
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.
apiKeyAuthheader
X-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.
application/json- response
account_id*integercapabilities*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": "" } ]}