WhatsApp Widget

Get WhatsApp Widget

get
/whatsapp-widget/{phone}

Returns the HTML for the WhatsApp widget for the specified phone number

Authorizations
apiKeystringRequired

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

Path parameters
phonestringRequired

Phone number with country code

Responses
chevron-right
200

HTML content for the WhatsApp widget

text/html
stringOptional

HTML content

get
/whatsapp-widget/{phone}
200

HTML content for the WhatsApp widget

Get WhatsApp Widget with Message

get
/whatsapp-widget/{phone}/{message}

Returns the HTML for the WhatsApp widget for the specified phone number and pre-filled message

Authorizations
apiKeystringRequired

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

Path parameters
phonestringRequired

Phone number with country code

messagestringRequired

Pre-filled message

Responses
chevron-right
200

HTML content for the WhatsApp widget

text/html
stringOptional

HTML content

get
/whatsapp-widget/{phone}/{message}
200

HTML content for the WhatsApp widget

Last updated

Was this helpful?