You can get messages added to your Insights Dashboard by passing along the message details and results from your provider’s webhook responses. This is a step-by-step guide to send message details to our Volt webhook.
<aside> ⚠️
If you are unsure of where to locate your API token, contact [email protected].
</aside>
URL
https:*//v1.insights.api.textvolt.com/data/messages*
POST
Authorization
header to the value Bearer <token>
, replacing <token>
with the API access token belonging to your organization.POST
request to https://v1.insights.api.textvolt.com/data/messages
with the body sent as JSON.For example, to send the above request using curl:
curl --location --request POST <https://v1.insights.api.textvolt.com/data/messages>
--header 'Authorization: Bearer <token>' \\
--header 'Content-Type: application/json' \\
--data-raw '{"id": "ex-am-pl-id-12-34","provider": "telnyx","from_number": "+1234567890","to_number": "+1098765432","body": "The text you sent. Text STOP to Unsubscribe.","status": "delivered",message_created_at: "2024-04-24T00:00:00"}'