Skip to main content
POST
/
v0
/
event-configs
Error
A valid request URL is required to generate request examples
{
  "id": "<string>",
  "agentId": "<string>",
  "displayName": "<string>",
  "key": "<string>",
  "description": "<string>",
  "schema": {
    "name": "apppointment_request",
    "schema": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "description": "The email address of the user."
        },
        "age": {
          "type": "number",
          "description": "The age of the user."
        }
      },
      "required": [
        "email"
      ],
      "additionalProperties": false
    },
    "strict": true
  },
  "waitForResponse": true,
  "stopConversation": true,
  "isActive": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Example: Bearer <YOUR_API_KEY>

Body

application/json

The body is of type object.

Response

id
string
required
agentId
string
required
displayName
string
required
key
string
required
description
string
required
schema
object
required
waitForResponse
boolean
required
stopConversation
boolean
required
isActive
boolean
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required