Skip to main content
WEBHOOK
/
webhook
{
  "agent_name": "Sales Agent",
  "agent_uuid": "agent_IsZ3Q6Sf_60Eh26XQMGbz-R_og",
  "phone_number": "+919876543210",
  "call_log_id": "8de63236-e013-42dd-9d99-1be5521701d4",
  "chat": "Agent: Hello, am I speaking with John?\nUser: Yes, this is John.\nAgent: Great! I'm calling to confirm your appointment tomorrow at 10 AM...",
  "call_status": "picked",
  "executionMode": "prod"
}

Documentation Index

Fetch the complete documentation index at: https://docs.osvi.ai/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
agent_name
string

Display name of the agent that handled the call.

Example:

"Sales Agent"

agent_uuid
string

Unique identifier of the agent.

Example:

"agent_IsZ3Q6Sf_60Eh26XQMGbz-R_og"

phone_number
string

Phone number that was called, in E.164 format.

Example:

"+919876543210"

call_log_id
string

Unique identifier for this call log entry.

Example:

"8de63236-e013-42dd-9d99-1be5521701d4"

chat
string

Full transcript of the call conversation.

Example:

"Agent: Hello, am I speaking with John?\nUser: Yes, this is John.\nAgent: Great! I'm calling to confirm your appointment tomorrow at 10 AM..."

call_status
enum<string>

Outcome of the call.

Available options:
picked,
not_picked,
busy,
failed
Example:

"picked"

executionMode
enum<string>

Environment the call was made in.

Available options:
prod,
test
Example:

"prod"

Response

200

Webhook received successfully. Return any 2xx status to acknowledge receipt.