Open a thread
Changed onOpens a thread in your organization, as the person the grant names, with the same checks as the workspace: the thread type must allow opening, a read-only seat is a 403, and every participant must be in GET /v2/agent/org/directory. The body is plain text; blank lines separate paragraphs.
The agent calls this only after the person approved the draft. Costs 0 credits.
Request
- Base URLhttps://api.cardog.app
- Auth
- API key in header x-api-key
- or HTTP bearer
Headers
An organization session token from POST /v2/agent/session, opened from an organization workspace and created for you. Required.
Request body
The thread's title, up to 200 characters
The first message. Plain text; blank lines separate paragraphs.
Organizations to add, by slug from GET /v2/agent/org/directory. Up to 20.
What kind of thread it is, e.g. "vin"
What the thread is about, e.g. "vin:2T3RWRFV5MW123456"
Response
The thread's ID, number, key and workspace link
The new thread
Where to go next
Changes
- info
endpoint added
- info