Wait Input
The Wait input API handles your Wait input Cells found in your flows.
CRUD Operations
A valid organization Uuid
A valid environment Uuid
A valid bot Uuid
A body containing all necessary data to create a new wait input
Description of the wait input
Type of the wait input. Possible types:
1 - DATE
2 - CUSTOM
3 - EMPTY
4 - HOUR
Call to action of the wait input
Pattern of the wait input
Remember input of the wait input
Name of variable to store when wait input is used if it's to remember
Created
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
POST /org/{orgUUID}/env/{envUUID}/bot/{botUUID}/wait-inputs HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 107
{
"description": "text",
"type": 1,
"callToAction": "text",
"pattern": "text",
"rememberInput": true,
"stored": "text"
}
{
"description": "text",
"type": 1,
"callToAction": "text",
"pattern": "text",
"rememberInput": true,
"stored": "text",
"id": "text",
"botId": "text"
}
A valid organization Uuid
A valid environment Uuid
A valid bot Uuid
A valid wait input Uuid
Ok
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
GET /org/{orgUUID}/env/{envUUID}/bot/{botUUID}/wait-inputs/{waitInputUUID} HTTP/1.1
Host:
Accept: */*
{
"description": "text",
"type": 1,
"callToAction": "text",
"pattern": "text",
"rememberInput": true,
"stored": "text",
"id": "text",
"botId": "text"
}
A valid organization Uuid
A valid environment Uuid
A valid bot Uuid
A valid wait input Uuid
A body containing all necessary data to create a new wait input
Description of the wait input
Type of the wait input. Possible types:
1 - DATE
2 - CUSTOM
3 - EMPTY
4 - HOUR
Call to action of the wait input
Pattern of the wait input
Remember input of the wait input
Name of variable to store when wait input is used if it's to remember
Ok
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
PUT /org/{orgUUID}/env/{envUUID}/bot/{botUUID}/wait-inputs/{waitInputUUID} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 107
{
"description": "text",
"type": 1,
"callToAction": "text",
"pattern": "text",
"rememberInput": true,
"stored": "text"
}
{
"description": "text",
"type": 1,
"callToAction": "text",
"pattern": "text",
"rememberInput": true,
"stored": "text",
"id": "text",
"botId": "text"
}
A valid organization Uuid
A valid environment Uuid
A valid bot Uuid
A valid wait input Uuid
No Content
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
DELETE /org/{orgUUID}/env/{envUUID}/bot/{botUUID}/wait-inputs/{waitInputUUID} HTTP/1.1
Host:
Accept: */*
No content
Auxiliary Methods
A valid organization Uuid
A valid environment Uuid
Ok
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
GET /org/{orgUUID}/env/{envUUID}/wait-inputs/types HTTP/1.1
Host:
Accept: */*
[
{
"id": 1,
"name": "text"
}
]
Last updated
Was this helpful?