ClickSend API
15 endpoints for ClickSend, each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.
- Base URL
- https://cotlet.dev/api/v1/clicksend
- Connects with
- Your own ClickSend account, the main account or a subaccount with the permissions you need (Access reporting, Access settings, Share contacts). If ClickSend asks for a 2FA code at sign-in, you enter it yourself.
- Integration page
- ClickSend
Read (7)
Return data and change nothing in the account.
| Endpoint | Description |
|---|---|
| GET | Contact lists of the account, by name, with their IDs. |
| GET | Contacts of one list with name, phone number and email. |
| GET | Sent, failed and scheduled texts from SMS > History, newest first, with status, number and date. |
| GET | One text with the reason it failed, error code, number of parts and cost. |
| GET | Campaigns from SMS > SMS Campaigns with status, send time and recipient count. |
| GET | Numbers on the Opt-Out List. |
| GET | Inbound SMS rules from Message Settings, such as the STOP rule, in the order ClickSend runs them. |
Write (8)
Change the account. Calls marked Confirm wait for the user to approve them.
| Endpoint | Description |
|---|---|
| POST | Send one text now or later to numbers or to a list, as Quick SMS does. |
| POST | Send or schedule an SMS campaign to one contact list, with an opt-out. |
| POST | Cancel a scheduled text or a scheduled campaign before it sends. |
| POST | Add contacts to a list with name, phone number and email. |
| DELETE | Remove one contact from a list. |
| DELETE | Remove duplicate contacts inside one list, by phone number or email. |
| DELETE | Remove everyone on the Opt-Out List from one contact list. |
| POST | Add a phone number to the Opt-Out List. |