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.

ClickSend Endpoints: Read
EndpointDescription
GET /contact-lists Contact lists of the account, by name, with their IDs.
GET /lists/{list_id}/contacts Contacts of one list with name, phone number and email.
GET /sms-histories Sent, failed and scheduled texts from SMS > History, newest first, with status, number and date.
GET /messages/{message_id}/sms-message One text with the reason it failed, error code, number of parts and cost.
GET /sms-campaigns Campaigns from SMS > SMS Campaigns with status, send time and recipient count.
GET /opt-outs Numbers on the Opt-Out List.
GET /inbound-rules 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.

ClickSend Endpoints: Write
EndpointDescription
POST /sms Confirm Send one text now or later to numbers or to a list, as Quick SMS does.
POST /lists/{list_id}/sms-campaigns Confirm Send or schedule an SMS campaign to one contact list, with an opt-out.
POST /scheduled-sms/cancel Confirm Cancel a scheduled text or a scheduled campaign before it sends.
POST /lists/{list_id}/contacts Confirm Add contacts to a list with name, phone number and email.
DELETE /lists/{list_id}/contacts/{contact_id} Confirm Remove one contact from a list.
DELETE /lists/{list_id}/duplicates Confirm Remove duplicate contacts inside one list, by phone number or email.
DELETE /lists/{list_id}/opted-out-contacts Confirm Remove everyone on the Opt-Out List from one contact list.
POST /phones/{phone_number}/opt-outs Confirm Add a phone number to the Opt-Out List.

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.