public

Create use case with agent

Changed on

Atomically create a workspace-owned use case and its voice agent as one idempotent operation.

post/api/v1/public/usecases/with-agent

Request

  • Base URL
    https://api.outcallerai.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.outcallerai.com/api/v1/public/usecases/with-agent
  • Auth
    none declared. Required headers: Idempotency-Key

Headers

Idempotency-Keystring required

Request body

namestring required
descriptionstring nullable
purposestring nullable
direction'OUTBOUND' | 'INBOUND' | 'ONE_WAY'
agentNamestring required
agentGender'MALE' | 'FEMALE'
voiceIdstring nullable
knowledgeBaseIdstring nullable
integrationsstring[]
scheduleEnabledboolean

Response

Successful Response

useCaseIdstring required
useCaseNamestring required
agentIdstring required
agentNamestring required
appUrlstring required

Changes