cURL
curl --request POST \ --url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#INTERCOM_SEND_MESSAGE' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "action": "INTERCOM_SEND_MESSAGE", "parameters": { "recipientContactType": "user", "recepientContactId": "<string>", "messageType": "inapp", "fromId": "<string>", "body": "<string>", "subject": "<string>", "template": "personal" } } '
Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Show child attributes
Recipient contact type
user
lead
Recipient contact ID : The ID of the contact to send the message to.
Message type
inapp
email
The Intercom Admin the message will be sent from
Body : The content of the message. HTML and plaintext are supported.
Subject : Required if sending an email. (example: "[email protected]")
Template : The style of the outgoing message. Required if sending an email.
personal
plain
Success
Was this page helpful?