Skip to main content
POST
Message Lincoln AI

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

UUID — when present, deduplicates repeat submissions. See /api-reference/idempotency.

Body

application/json
wait_seconds
integer
default:120
required

How long to hold the request open for Lincoln to finish. 0 returns immediately. If the turn is still running when this runs out, status is working: poll GET /v1/lincoln/conversations/{id}.

Required range: 0 <= x <= 240
conversation_id
string<uuid>

Continue this conversation. Omit to start a new one.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
message
string

What you want Lincoln to do, in plain language. Send this or approvals, not both.

Required string length: 1 - 20000
approvals
object[]

Answers to the actions Lincoln is waiting on (pending_approvals). Every pending approval must be answered. Send this or message, not both.

Minimum array length: 1

Response

Success

data
object
required