Skip to main content

Making Request

You can paste the command below into your terminal to run your first API request. Make sure to replace $API_KEY with your secret API key.

Example curl command:

curl -X 'POST' \
'https://api.conductify.ai/external/v1/chat/completions' \
-H 'accept: */*' \
-H 'x-api-key: $API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"botUuid": "037f4fbb-af6b-47ea-bb0b-834ff2b4659e",
"channelId": "037f4fbb-af6b-47ea-bb0b-834ff2b4659e",
"channelType": "web",
"prompt": "Hello, How are you?",
"threadId": "web-cc9f96ff-66eb-4434-948f-639ca334e3bc",
"attachments": [
{
"type": "image/jpg",
"url": "https://example.com/image.jpg"
}
]
}'