How can we help? 👋

API: Creating Interaction Data

If you wish to create Interaction Data, you will be able to do so using our Core API Interaction Endpoint.

A sample request for it is available below

POST https://{region}.engage.app/api/core/v1/interactions/{{interactionUuid}}/interaction-data
Authorization: Bearer <bearer token here> 
Content-Type: application/json

{
  "name": "name",
  "label": "name",
  "data": "Elendil"
}

Placeholders

This route contains several placeholders which must be replaced:

  • The region will likely be either eu, us, or au;
  • The interactionUuid will be the UUID of the interaction you wish to access
  • The bearerToken must be generated from within Talkative, on the API Keys page

In addition, the name, label and data fields need to be substituted with the data you want to store

Notes

  • Only non-finalised interactions can store interaction data. An interaction finalises once it ends (if abandoned, or when an agent completes it
  • Interaction Data with a name that already exists will override other data.
 
Did this answer your question?
😞
😐
🤩