Create an Auto Response Rule
Security
X-API-KEY or Authorization
- https://uberall.com/apihttps://uberall.com/api/auto-response/rules
- Mock Serverhttps://docs.uberall.com/_mock/apis/swagger/auto-response/rules
- X-API-KEY
- Authorization
curl -i -X POST \
https://uberall.com/api/auto-response/rules \
-H 'Content-Type: */*' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"businesses": [
0
],
"locations": [
0
],
"excludedLocations": [
0
],
"name": "string",
"status": "ACTIVE",
"triggers": [
"string"
],
"responses": [
{
"response": "string",
"isOpenAI": true
}
],
"ruleResponses": [
{
"response": "string",
"isOpenAI": true
}
]
}'Auto Response Rule created
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
Response
{
"status": "SUCCESS",
"message": "string",
"warnings": [
"string"
],
"response": {
"id": "string",
"businesses": [
{
"id": 0,
"name": "string"
}
],
"locations": [
{
"id": 0,
"name": "string",
"business": {
"id": 0,
"name": "string"
}
}
],
"excludedLocations": [
{
"id": 0,
"name": "string",
"business": {
"id": 0,
"name": "string"
}
}
],
"name": "string",
"status": "ACTIVE",
"triggers": [
"string"
],
"responses": [
{
"response": "string",
"isOpenAI": true
}
],
"dateCreated": "2019-08-24T14:15:22Z",
"dateUpdated": "2019-08-24T14:15:22Z",
"canEdit": true,
"locationCount": 0
}
}