Skip to main content
POST
/
v1
/
agent
/
{id}
/
slack
/
link
Link Slack Account
curl --request POST \
  --url https://api.app.shinzo.ai/v1/agent/{id}/slack/link \
  --header 'Authorization: Bearer <token>'

Authentication

Requires JWT token or Platform API key via Authorization: Bearer <token> header.
id
string
required
Agent UUID

Example Request

curl -X POST https://api.app.shinzo.ai/v1/agent/a1b2c3d4-e5f6-7890-abcd-ef1234567890/slack/link \
  -H "Authorization: Bearer <token>"

Example Response

{
  "code": "ABC123",
  "expires_at": "2026-02-24T15:30:00Z",
  "instructions": "Send '/link ABC123' as a DM to the agent's Slack bot"
}
Link codes expire after 10 minutes. The user must send /link <CODE> as a direct message to the agent’s Slack bot to complete the pairing.

Status Codes

CodeDescription
200Link code generated successfully
401Unauthorized - invalid or missing authentication
404Agent not found
409Agent already linked to a Slack account