Manage inbound configuration
Create/Update configuration details. Parameters used vary depending on the action type.
Authorizations:
Scopes:
Request Body schema:
application/jsonkeyword | string [ 0 .. 50 ] characters Omitting this value or sending | ||||||||||||||||
username | string [ 0 .. 255 ] characters ^(?!\s*$).+ Sets username that will be applied in appropriate actions. | ||||||||||||||||
unset | Array of strings Items Enum: "USERNAME" "PLATFORM" "FORWARDING" "CONVERSATIONS" "AUTORESPONSE" "BLOCKLISTCONFIGURATION" Used for unsetting configuration options. | ||||||||||||||||
channel required | string Channel type. SMS | ||||||||||||||||
numberKey | string Required if | ||||||||||||||||
number | string Required if | ||||||||||||||||
countryCode | string ^[A-Z]{2}$ Country code in two-letter ISO standard. Required for identifying country specific resources (for instance, short code number types). | ||||||||||||||||
forwarding | object Forwarding MO action. | ||||||||||||||||
| |||||||||||||||||
conversations | |||||||||||||||||
| |||||||||||||||||
platform | object Platform applicationId and entityId to apply to inbound messages that pair to this configuration. If not provided, or if set to default values (applicationId = default and entityId = null), values from the associated number/resource will be used. | ||||||||||||||||
| |||||||||||||||||
autoResponse | object Auto-response action configuration. | ||||||||||||||||
| |||||||||||||||||
blockListConfiguration | object Whitelist or blacklist the traffic of MT messages. | ||||||||||||||||
|
Responses
OK
Bad Request
Unauthorized
Forbidden
Not Found
Too Many Requests
Internal Server Error
Request samples
- Payload
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
{- "keyword": "STARTKW",
- "username": "myusername",
- "unset": "FORWARDING",
- "channel": "SMS",
- "numberKey": "58BC6DB7966CB9F69A91EB956DF73239",
- "number": "41793026727",
- "countryCode": "GB",
- "forwarding": {
- "type": "PULL"
}, - "conversations": {
- "enabled": true
}, - "platform": {
- "applicationId": "myApplicationId",
- "entityId": "myEntityId"
}, - "autoResponse": {
- "message": "Thank you for your message.",
- "sender": "MyAutoResponseSender",
- "deliveryTimeWindow": {
- "from": "08:35",
- "to": "16:35",
- "days": [
- "MONDAY",
- "TUESDAY",
- "WEDNESDAY",
- "THURSDAY",
- "FRIDAY"
], - "deliveryTimeZone": "USER_TIME_ZONE"
}
}, - "blockListConfiguration": {
- "type": "UNBLOCK",
- "level": "FROM_SENDER"
}
}
Response samples
- 200
- 400
- 401
- 403
- 429
- 500
{- "channel": "SMS",
- "keyword": "STARTKW",
- "username": "myusername",
- "platform": {
- "applicationId": "myApplicationId",
- "entityId": "myEntityId"
}, - "forwarding": {
- "type": "PULL"
}, - "conversations": {
- "enabled": true
}, - "autoResponse": {
- "message": "Thank you for your message.",
- "sender": "MyAutoResponseSender",
- "deliveryTimeWindow": {
- "from": "08:35",
- "to": "16:35",
- "days": [
- "MONDAY",
- "TUESDAY",
- "WEDNESDAY",
- "THURSDAY",
- "FRIDAY"
], - "deliveryTimeZone": "USER_TIME_ZONE"
}
}, - "blockListConfiguration": {
- "type": "UNBLOCK",
- "level": "FROM_SENDER"
}, - "configurationKey": "E9FCDCA496035F08EEA5933702EDF745"
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See