नेविगेशन पर जाएँ

Add Procedure

Add a procedure (SOP) to the named receptionist.

पाथ पैरामीटर

agent_idstringआवश्यक

हेडर

xi-api-keystringवैकल्पिक
xi-workspace-idstring or nullवैकल्पिक
The customer workspace a reseller's API key acts on.

अनुरोध

This endpoint expects an object.
namestringआवश्यक
Name of the procedure.
triggerstringआवश्यक
When the receptionist should run the procedure, in natural language. The receptionist matches caller requests against it, e.g. 'When the caller wants to book an appointment'.
bodystringवैकल्पिक<=40000 charactersडिफ़ॉल्ट:

Step-by-step instructions, as markdown.

रिस्पॉन्स

सफल रिस्पॉन्स

namestring
Name of the procedure.
triggerstring
When the receptionist should run the procedure, in natural language. The receptionist matches caller requests against it, e.g. 'When the caller wants to book an appointment'.
bodystringवैकल्पिक<=40000 charactersडिफ़ॉल्ट:

Step-by-step instructions, as markdown.

idstringवैकल्पिक
created_at_unixintegerवैकल्पिक

Unix timestamp (seconds since epoch)

source_keystring or nullवैकल्पिक

त्रुटियाँ

422
Unprocessable Entity Error