Skip to main content
POST
Create Engagement

Authorizations

Authorization
string
header
required

A Turtle API key (sk_...) as a bearer token.

Path Parameters

organizationId
string<uuid>
required
Example:

"248df4b7-aa70-47b8-a036-33ac447e668d"

Body

application/json
counterpartyId
string<uuid>
required

The organization the deal is with. Every deal names one.

Example:

"248df4b7-aa70-47b8-a036-33ac447e668d"

pipelineType
string
required

Board type, one of the tenant's declared boards (GET /pipelines).

Minimum string length: 1
title
string
required

What the deal is called on the board.

Required string length: 1 - 200
Pattern: ^(?:[^<\p{C}]|‍|<+(?:[^<A-Za-z/!?\p{C}]|‍|$))*$
draft
boolean

Hold this write as a draft, even where the permissions would let it through: the agent's waits for a person to approve, a person's own waits for them to confirm it (owner: its author). The response is applied=false with the draft.

evidence
object[] | null
expectedRevenue
string

What the deal is worth to us, as a decimal string in the board's revenueUnit. Omit to let the board's revenueFormula derive it from the card.

fields
object

The board's declared card values. GET /pipelines lists what this board accepts; anything else is refused.

ownerId
string<uuid>

The contact who runs the deal: one of ours, a contact at the tenant's own organization (contacts?internal=true).

Example:

"248df4b7-aa70-47b8-a036-33ac447e668d"

rationale
string
Maximum string length: 20000
Pattern: ^(?:[^<\p{C}]|[\t\n\r‍]|<+(?:[^<A-Za-z/!?\p{C}]|[\t\n\r‍]|$))*$
source
enum<string>

With a personal API key only: ai records the write as the key owner's agent's (source ai, with the owner as its user), owing the rationale and evidence, and passing the permissions, of any agent write. Omit for a person's own write.

Available options:
ai
stage
string

Must be one of the board's stages when it declares any (GET /pipelines). A deal discovered mid-funnel may open at any of them; omitted, it opens on the board's initial stage.

Response

OK

applied
boolean
budgets
object[]

How full each budgeted text the write set is, in characters (a note in a list is its own entry, notes[2].text). Never enforced: a text over its budget was written as sent; tighten it when you next rewrite it.

draft
object
entityId
string<uuid>
Example:

"248df4b7-aa70-47b8-a036-33ac447e668d"

migrated
integer
mutation
object