curl --request POST \
--url https://brainbase-monorepo-api.onrender.com/api/workers/{workerId}/deployments/voicev1/{deploymentId}/campaigns \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"steps": [
{}
]
}'
{
"id": "<string>",
"status": "RUNNING",
"steps": [
{}
]
}
curl --request POST \
--url https://brainbase-monorepo-api.onrender.com/api/workers/{workerId}/deployments/voicev1/{deploymentId}/campaigns \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"steps": [
{}
]
}'
{
"id": "<string>",
"status": "RUNNING",
"steps": [
{}
]
}
API key authentication
Campaign created successfully
The response is of type object
.