Autoresponse Configs

Autoresponse Configs

Create Auto-Reponse Setting

SecuritybearerAuth
Request
path Parameters
profile_id
required
string (Profile Id)
Request Body schema: application/json
required
country_code
required
string (Country Code)
keywords
required
Array of strings (Keywords)
op
required
string (Op)
Enum: "start" "stop" "info"
resp_text
string (Resp Text)
Responses
200

Successful Response

Response Schema: application/json
required
object (AutorespConfigSchema)
country_code
required
string (Country Code)
created_at
required
string <date-time> (Created At)
id
required
string (Id)
keywords
required
Array of strings (Keywords)
op
required
string (Op)
Enum: "start" "stop" "info"
resp_text
string (Resp Text)
updated_at
required
string <date-time> (Updated At)
default

Unexpected error

Response Schema: application/json
Array of objects (Error)
Array
code
required
string <int>
detail
string
meta
object
object
title
required
string
post/messaging_profiles/{profile_id}/autoresp_configs
Request samples
application/json
{
  • "country_code": "US",
  • "keywords": [
    • "keyword1",
    • "keyword2"
    ],
  • "op": "start",
  • "resp_text": "Thank you for your message"
}
Response samples
application/json
{
  • "data": {
    • "country_code": "US",
    • "created_at": "2023-03-22T00:06:49.068817+00:00",
    • "id": "c2298f86-a4dc-4cac-b6b6-4a3d01c290fa",
    • "keywords": [
      • "START"
      ],
    • "op": "start",
    • "resp_text": "Hello there!",
    • "updated_at": "2023-03-22T00:06:49.068817+00:00"
    }
}

Delete Auto-Response Setting

SecuritybearerAuth
Request
path Parameters
profile_id
required
string <uuid> (Profile Id)
autoresp_cfg_id
required
string <uuid> (Autoresp Cfg Id)
Responses
200

Successful Response

Response Schema: application/json
any
default

Unexpected error

Response Schema: application/json
Array of objects (Error)
Array
code
required
string <int>
detail
string
meta
object
object
title
required
string
delete/messaging_profiles/{profile_id}/autoresp_configs/{autoresp_cfg_id}
Request samples
Response samples
application/json
null

Get Auto-Response Setting

SecuritybearerAuth
Request
path Parameters
profile_id
required
string <uuid> (Profile Id)
autoresp_cfg_id
required
string <uuid> (Autoresp Cfg Id)
Responses
200

Successful Response

Response Schema: application/json
required
object (AutorespConfigSchema)
country_code
required
string (Country Code)
created_at
required
string <date-time> (Created At)
id
required
string (Id)
keywords
required
Array of strings (Keywords)
op
required
string (Op)
Enum: "start" "stop" "info"
resp_text
string (Resp Text)
updated_at
required
string <date-time> (Updated At)
default

Unexpected error

Response Schema: application/json
Array of objects (Error)
Array
code
required
string <int>
detail
string
meta
object
object
title
required
string
get/messaging_profiles/{profile_id}/autoresp_configs/{autoresp_cfg_id}
Request samples
Response samples
application/json
{
  • "data": {
    • "country_code": "US",
    • "created_at": "2023-03-13T17:51:03.826453+00:00",
    • "id": "adc37adf-d110-4355-9e9a-262847e68e89",
    • "keywords": [
      • "UNSTOP"
      ],
    • "op": "start",
    • "resp_text": "Hello there!",
    • "updated_at": "2023-03-13T17:51:03.826453+00:00"
    }
}

Update Auto-Response Setting

SecuritybearerAuth
Request
path Parameters
profile_id
required
string <uuid> (Profile Id)
autoresp_cfg_id
required
string <uuid> (Autoresp Cfg Id)
Request Body schema: application/json
required
country_code
required
string (Country Code)
keywords
required
Array of strings (Keywords)
op
required
string (Op)
Enum: "start" "stop" "info"
resp_text
string (Resp Text)
Responses
200

Successful Response

Response Schema: application/json
required
object (AutorespConfigSchema)
country_code
required
string (Country Code)
created_at
required
string <date-time> (Created At)
id
required
string (Id)
keywords
required
Array of strings (Keywords)
op
required
string (Op)
Enum: "start" "stop" "info"
resp_text
string (Resp Text)
updated_at
required
string <date-time> (Updated At)
default

Unexpected error

Response Schema: application/json
Array of objects (Error)
Array
code
required
string <int>
detail
string
meta
object
object
title
required
string
put/messaging_profiles/{profile_id}/autoresp_configs/{autoresp_cfg_id}
Request samples
application/json
{
  • "country_code": "US",
  • "keywords": [
    • "keyword1",
    • "keyword2"
    ],
  • "op": "start",
  • "resp_text": "Thank you for your message"
}
Response samples
application/json
{
  • "data": {
    • "country_code": "*",
    • "created_at": "2023-03-10T21:54:46.293380+00:00",
    • "id": "54b7e19f-98a8-416f-81d1-a2782eade48b",
    • "keywords": [
      • "START",
      • "BEGIN"
      ],
    • "op": "start",
    • "resp_text": "Hello there!",
    • "updated_at": "2023-03-10T21:54:46.293380+00:00"
    }
}