agent

Opens 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.

post/v2/agent/org/issues

Request

  • Base URL
    https://api.cardog.app
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Headers

X-Cardog-Agent-Grant, string required

An organization session token from POST /v2/agent/session, opened from an organization workspace and created for you. Required.

Request body

AgentOrgIssueCreateRequest required
title, string required

The thread's title, up to 200 characters

body, string required

The first message. Plain text; blank lines separate paragraphs.

participants, string[]

Organizations to add, by slug from GET /v2/agent/org/directory. Up to 20.

kind, 'vin' | 'listing' | 'seller' | 'document' | 'delivery' | 'campaign' | 'data' | 'general'

What kind of thread it is, e.g. "vin"

subjectRef, string nullable

What the thread is about, e.g. "vin:2T3RWRFV5MW123456"

Response

The thread's ID, number, key and workspace link

AgentOrgIssueCreated required
issue, object required

The new thread

links, object required

Where to go next

Changes