API and MCPActions API

Actions API

Do anything a teammate can do in the inbox, over HTTP.

Every action in the SI Desk inbox is also an HTTP endpoint. Your scripts and backends can list conversations, reply, add notes, change status and read reports.

Get a token

  1. Sign in to SI Desk and open https://sidesk.co/mcp/connect.
  2. Choose Generate a static token, then Create connection token.
  3. Send it with every request as Authorization: Bearer <token>.

A token acts as you, in the business that was active when you made it. Make one token per business. Revoke it on the same page. Keep it secret, like a password.

Call an action

  • Read actions take GET https://sidesk.co/_agent-native/actions/<name> with query parameters.
  • All other actions take POST to the same address with a JSON body.
TOKEN=...   # from /mcp/connect
BASE=https://sidesk.co/_agent-native/actions

# Open conversations
curl -sS -H "Authorization: Bearer $TOKEN" "$BASE/list-conversations?status=open"

# Reply as a teammate
curl -sS -X POST -H "Authorization: Bearer $TOKEN" -H "content-type: application/json" \
  -d '{"conversationId":"<id>","body":"Thanks, fixed now.","author":"human"}' \
  "$BASE/reply-to-conversation"

Times are ISO 8601 in UTC. Durations are in seconds.

Errors

StatusMeaning
400The input is invalid. The response says why.
401The token is missing, expired or revoked.
404The record does not exist.
405Wrong method, such as POST for a read action.

Common actions

ActionMethodWhat it does
list-conversationsGETLists conversations. Filter by status, channel, assigneeEmail, labelId, query and dates.
get-conversationGETA conversation with all its messages and notes.
reply-to-conversationPOSTReplies to the customer. Set author to human for a teammate reply, or leave it as agent for an AI reply.
save-reply-draftPOSTLeaves a draft for a teammate to review and send.
add-notePOSTAdds a note only your team sees.
update-conversationPOSTChanges status, assignee or subject.
bulk-update-conversationsPOSTChanges status or assignee for up to 200 conversations.
start-email-conversationPOSTEmails a customer first.
list-contactsGETSearches customers by name or email.
get-contact-profileGETA customer's details, other conversations and website activity.
performance-reportGETResponse and resolution times.

The MCP server offers the same actions as tools.