Messages

Handle Custom Channel Message

post

Handles incoming messages from custom channels. Campaign Assignment Priority - 1. Explicit campaignId (highest priority) 2. Keyword matching (existing logic) 3. Default campaign (fallback). Backwards Compatibility - All new fields are optional. Existing integrations continue to work unchanged.

Authorizations
apiKeystringRequired
Query parameters
apiKeystringOptional

API key for authentication

Example: your_api_key
Body
messageTypestringRequired

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

Default: text
Responses
chevron-right
200

Message processed successfully

application/json
post
/incoming-custom-channel-message

Handle Custom Channel Message (Alternative)

post

Alternative endpoint for handling incoming messages from custom channels. Same functionality as /incoming-custom-channel-message. Campaign Assignment Priority - 1. Explicit campaignId (highest priority) 2. Keyword matching (existing logic) 3. Default campaign (fallback). Backwards Compatibility - All new fields are optional. Existing integrations continue to work unchanged.

Authorizations
apiKeystringRequired
Query parameters
apiKeystringOptional

API key for authentication

Example: your_api_key
Body
messageTypestringRequired

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

Default: text
Responses
chevron-right
200

Message processed successfully

application/json
post
/incoming_custom_channel_message

Send Custom Channel Message

post

Send an outbound message to a custom channel contact. Creates contact if it doesn't exist.

Authorizations
apiKeystringRequired
Query parameters
apiKeystringOptional

API key for authentication

Example: your_api_key
Body
Responses
chevron-right
200

Message sent successfully

application/json
post
/send-custom-channel-message

Send Custom Channel Message (Alternative)

post

Alternative endpoint for sending outbound messages to custom channel contacts. Same functionality as /send-custom-channel-message. Creates contact if it doesn't exist.

Authorizations
apiKeystringRequired
Query parameters
apiKeystringOptional

API key for authentication

Example: your_api_key
Body
Responses
chevron-right
200

Message sent successfully

application/json
post
/send_custom_channel_message

Last updated

Was this helpful?