Messages
Handles incoming messages from custom channels
Query parameters
apiKeystringOptionalExample:
API key for authentication
your_api_key
Body
messageTypestringRequiredDefault:
Type of message (e.g., text, reaction)
text
Responses
200
Message processed successfully
application/json
400
Invalid request
application/json
401
Unauthorized
application/json
500
Server error
application/json
post
POST /v1/incoming-custom-channel-message HTTP/1.1
Host: api.dmchamp.com
Content-Type: application/json
Accept: */*
Content-Length: 173
{
"customData": {
"messageSid": "msg123",
"fromId": "user123",
"toId": "business456",
"body": "Hello from custom channel",
"status": "received",
"channel": "custom"
},
"messageType": "text"
}
{
"success": true,
"messageId": "1234567890"
}
Was this helpful?