Sakari MCP by usefulapi
v1.20.1Manage Sakari SMS contacts, conversations, templates and campaigns, and send texts.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sakari_get_account Get account
The Sakari account these credentials belong to: name, plan, balance, default country, business info and options. API credentials are never returned. GET /v1/accounts/{accountId}.
sakari_get_balance Get account balance
Prepaid balance, default country, remaining segments and the price per segment. GET /v1/accounts/{accountId}/balance.
sakari_list_contacts List contacts
List or search contacts (partial matches on name, mobile or email; filter by tag). GET /v1/accounts/{accountId}/contacts.
| Parameter | Type | Description |
|---|---|---|
email | string | Filter by email or part of it. |
first_name | string | Filter by first name or part of it. |
last_name | string | Filter by last name or part of it. |
limit | integer | Results per page, 1-100 (default 25). |
mobile | string | Filter by mobile number or part of it. |
offset | integer | Results to skip (default 0). Pass the previous reply's next_offset. |
tags | string | Filter by tag(s). |
sakari_get_contact Get contact
One contact by id: name, mobile (with validity and line type), email, lists, attributes, opt-in and blocked state. GET /v1/accounts/{accountId}/contacts/{contactId}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | string | Sakari contact id. |
sakari_create_contact Create contact
WRITE: create a contact. If a contact with the same mobile number exists, merge_strategy decides what happens (append, core or remove, per Sakari). A contact is not opted in to messages by this call. POST /v1/accounts/{accountId}/contacts.
| Parameter | Type | Description |
|---|---|---|
mobile * | string | Mobile number in international format, e.g. +13471234567. |
country | string | 2-letter country of the number (default: the account's default country). |
email | string | |
first_name | string | |
last_name | string | |
merge_strategy | string | How an existing contact with the same mobile is treated. |
sakari_update_contact Update contact
WRITE: change a contact's name, email or mobile. Sakari's update replaces the contact, so this reads the current contact first and sends it back whole (lists, opt-in, blocked, attributes) with only your changes applied. PUT /v1/accounts/{accountId}/contacts/{contactId}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | string | Sakari contact id. |
country | string | 2-letter country of the mobile number. |
email | string | |
first_name | string | |
last_name | string | |
mobile | string | New mobile number in international format. |
sakari_list_messages List messages
List messages (sent and received) with status, segments, price and timestamps; filter by contact or conversation. GET /v1/accounts/{accountId}/messages.
| Parameter | Type | Description |
|---|---|---|
contact_id | string | Sakari contact id. |
conversation_id | string | Sakari conversation id. |
limit | integer | Results per page, 1-100 (default 25). |
offset | integer | Results to skip (default 0). Pass the previous reply's next_offset. |
sakari_get_message Get message
One message by id: text, direction, status, segments, price, error. GET /v1/accounts/{accountId}/messages/{messageId}.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | Sakari message id. |
sakari_send_message Send text message
WRITE: SEND REAL TEXT MESSAGES that cost account balance and cannot be recalled. Recipients: phone numbers (international format), existing contact ids, or conversation ids (max 100 in total). Only text people who opted in; Sakari enforces TCPA/CTIA rules and the sender is responsible. Confirm the recipients and the text with the user first. Placeholders like {{firstName}} are filled per contact. POST /v1/accounts/{accountId}/messages.
| Parameter | Type | Description |
|---|---|---|
confirm_send * | boolean | Must be true: you confirm the user approved these recipients and this text, and that the texts go out now. |
text * | string | Message text (the Sakari 'template'). |
contact_ids | array | Existing Sakari contact ids. |
conversation_ids | array | Existing conversation ids to reply into. |
media_urls | array | Public media URLs to attach (MMS). |
to_numbers | array | Recipient phone numbers in international format. |
type | string | SMS (default) or MMS. |
sakari_list_conversations List conversations
List conversations (the inbox): contact, last message, unread count, open or closed. GET /v1/accounts/{accountId}/conversations.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
offset | integer | Results to skip (default 0). Pass the previous reply's next_offset. |
sakari_get_conversation Get conversation
One conversation by id. Use sakari_list_messages with conversation_id for its messages. GET /v1/accounts/{accountId}/conversations/{conversationId}.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | Sakari conversation id. |
sakari_close_conversation Close conversation
WRITE: mark a conversation closed in the Sakari inbox (a new inbound message reopens it). PUT /v1/accounts/{accountId}/conversations/{conversationId}/close.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | Sakari conversation id. |
sakari_list_templates List templates
List reusable message templates. GET /v1/accounts/{accountId}/templates.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
name | string | Filter by name or part of it. |
offset | integer | Results to skip (default 0). Pass the previous reply's next_offset. |
sakari_get_template Get template
One message template by id. GET /v1/accounts/{accountId}/templates/{templateId}.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | Sakari template id. |
sakari_create_template Create template
WRITE: create a reusable SMS template (does not send anything). POST /v1/accounts/{accountId}/templates.
| Parameter | Type | Description |
|---|---|---|
name * | string | Template name. |
text * | string | Template text; may contain placeholders such as {{firstName}}. |
sakari_list_campaigns List campaigns
List message campaigns with schedule, template, status and reporting. GET /v1/accounts/{accountId}/campaigns.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
name | string | Filter by name or part of it. |
offset | integer | Results to skip (default 0). Pass the previous reply's next_offset. |
sakari_get_campaign Get campaign
One campaign by id. GET /v1/accounts/{accountId}/campaigns/{campaignId}.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Sakari campaign id. |
sakari_list_calls List calls
Call history (voice) with direction, status, duration and contact; filter by contact, conversation, direction, status or date range. GET /v1/accounts/{accountId}/calls.
| Parameter | Type | Description |
|---|---|---|
contact_id | string | Sakari contact id. |
conversation_id | string | Sakari conversation id. |
direction | string | |
from | string | Start of the date range (ISO 8601 date-time). |
limit | integer | Results per page, 1-100 (default 25). |
offset | integer | Results to skip (default 0). Pass the previous reply's next_offset. |
status | string | |
to | string | End of the date range (ISO 8601 date-time). |
sakari_get_call Get call
One call history record by id. GET /v1/accounts/{accountId}/calls/{callId}.
| Parameter | Type | Description |
|---|---|---|
call_id * | string | Sakari call id. |
sakari_list_links List tracked links
Shortened tracked links with destination, short URL and click stats. GET /v1/accounts/{accountId}/links.
| Parameter | Type | Description |
|---|---|---|
q | string | Search term across link fields. |
sakari_list_forms List lead forms
Lead capture forms with active state, impressions and conversions. GET /v1/accounts/{accountId}/forms.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
offset | integer | Results to skip (default 0). Pass the previous reply's next_offset. |
q | string | Search term across form fields. |
sakari_list_webhooks List webhooks
Active webhook subscriptions (message event notifications). GET /v1/accounts/{accountId}/webhooks.
sakari_list_autoresponders List autoresponders
Autoresponders (automatic replies) configured on the account. GET /v1/accounts/{accountId}/autoresponders.