Pin threads

POST
/api/v1/threads/pin

Pins one or more threads to a member's sidebar board and returns per-thread outcomes. Service keys must pass userId for an active organization member.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An API key created in Capy under Settings → API.

Request body

application/json
  1. body
threadIds*array<string>
userId?string

Response body

FileThreadsResult

application/json
  1. response
outcomes*array<>
curl -X POST "https://api.capy.ai/api/v1/threads/pin" \  -H "Authorization: Bearer $CAPY_API_KEY" \  -H "Content-Type: application/json" \  -d '{"threadIds":[]}'
{  "outcomes": [    {      "threadId": "string",      "outcome": "ok"    }  ]}
Last updated
Open in Capy