Each request can have a conversation attached to it. Either the assistant requests more information or the integration is responding with more information. Every message can also contain attachments.
| Field | Type | Required | Description |
|---|---|---|---|
content | string | Yes | The content of the conversation |
request_id | string | Yes | The request id that this conversation belongs to |
curl -XPOST https://console.api.getmagic.com/api/v1/conversation \
-H "x-api-key: <API_KEY>" \
-d '{
"content": "Hello, how are you?",
"request_id": "123456-7890-123456-7890"
}'{
"id": "12345-67890-12345-67890",
"content": null,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z",
"request_id": null,
"attachments": []
}