Fency.ai
Conversations

Create conversation

POST
/v1/conversations

Create a conversation. Title stays empty until the first attached agent task with a query sets it. Optionally send metadata in the request body.

Authorization

bearerAuth
AuthorizationBearer <token>

Provide your secret key as Authorization: Bearer sk_....

In: header

Response Body

application/json

curl -X POST "https://example.com/v1/conversations"
{  "id": "cnv_cf4fe6caa10b4009a8b103d2d5d64042",  "createdAt": "2023-10-01T12:00:00Z",  "title": "How many open tasks per assignee?",  "metadata": {    "organization_id": "org_1234567890",    "allowed_roles": [      "Admin",      "Member"    ],    "size": 1337,    "is_available": true,    "mean_score": 3.14  }}