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.

📘 Instructions

Prep

  1. Have your Volt API access token readily available. If you have a Volt GraphQL API, you may use the same token.
  2. Ensure you can reach the endpoint by sending an empty body with your bearer token.

<aside> ⚠️

If you are unsure of where to locate your API token, contact [email protected].

</aside>

Messages Endpoint

URL

https:*//v1.insights.api.textvolt.com/data/messages*

POST

  1. Set the Authorization header to the value Bearer <token>, replacing <token> with the API access token belonging to your organization.
  2. Send a 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"}'