/api/v1. The action is the last path segment, not the HTTP verb.
client.tickets.create().
Send JSON. Resource bodies include workspaceId. List routes also accept limit, cursor, and direction.
The key does not contain that id. Read it first:
data.workspaceId and data.profileId come back on the caller. With the SDK, await sayless.workspace.me(). Any valid key or token may call this; it takes no body.
Reads
List and info responses wrap the entity:Mutations
Creates and updates return a public mutation payload:{ "success": true, "entityId": "…" }. API and OAuth responses do not include sync fields such as mutationId.
Idempotency
On create and send message, send an optional header so retries are safe:IDEMPOTENCY_CONFLICT).