Messages

Handle Custom Channel Message

post

Handles incoming messages from custom channels

Query parameters
apiKeystringOptional

API key for authentication

Example: your_api_key
Body
messageTypestringRequired

Type of message (e.g., text, reaction)

Default: text
Responses
200
Message processed successfully
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?