Messages

Handle Custom Channel Message

post
/incoming-custom-channel-message

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

Your DM Champ API key. Obtain from Settings → API Keys.

Query parameters
apiKeystringOptional

API key for authentication. At least one of apiKey or userId is required for protected endpoints.

Example: your_api_key
Body
messageTypestringRequired

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

Default: text
Responses
chevron-right
200

Message processed successfully

application/json
successbooleanOptionalExample: true
messageIdstringOptionalExample: 1234567890
post
/incoming-custom-channel-message

Handle Custom Channel Message (Alternative)

post
/incoming_custom_channel_message

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

Your DM Champ API key. Obtain from Settings → API Keys.

Query parameters
apiKeystringOptional

API key for authentication. At least one of apiKey or userId is required for protected endpoints.

Example: your_api_key
Body
messageTypestringRequired

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

Default: text
Responses
chevron-right
200

Message processed successfully

application/json
successbooleanOptionalExample: true
messageIdstringOptionalExample: 1234567890
post
/incoming_custom_channel_message

Send Custom Channel Message

post
/send-custom-channel-message

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

Authorizations
apiKeystringRequired

Your DM Champ API key. Obtain from Settings → API Keys.

Query parameters
apiKeystringOptional

API key for authentication. At least one of apiKey or userId is required for protected endpoints.

Example: your_api_key
Body
Responses
chevron-right
200

Message sent successfully

application/json
successbooleanOptionalExample: true
messageIdstringOptional

ID of the created message

contactIdstringOptional

ID of the contact

messagestringOptionalExample: Message sent successfully
post
/send-custom-channel-message

Send Custom Channel Message (Alternative)

post
/send_custom_channel_message

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

Your DM Champ API key. Obtain from Settings → API Keys.

Query parameters
apiKeystringOptional

API key for authentication. At least one of apiKey or userId is required for protected endpoints.

Example: your_api_key
Body
Responses
chevron-right
200

Message sent successfully

application/json
successbooleanOptionalExample: true
messageIdstringOptional

ID of the created message

contactIdstringOptional

ID of the contact

messagestringOptionalExample: Message sent successfully
post
/send_custom_channel_message

Last updated

Was this helpful?