For the complete documentation index, see llms.txt. This page is also available as Markdown.

πŸ’»API

An alternative to our SDK - for submitting custom attributes to new or existing customers.

What can you use the Mava API for?

  1. Custom Attributes: You can use the Mava API to push user attributes to Mava via the identify endpoint. This offers similar functionality to the web chat SDK but can be used with all integration options and enables you to push data from third-party systems, such as your database, into Mava.

  2. Update Tickets: You can use the API to update tickets, like statuses, tags or categories.

  3. Messages & Private Notes: You can use the API to send messages or add private notes to tickets.

  4. Fetch Tickets: You can use the API to collect all ticket data

  5. Create Tickets: You can use the API to create new tickets

Getting Started

Head over to the API section within the Mava dashboard and create an API key.

Please note: If you send no customer ID, a customer will be created for you and a new customer ID sent back which should be stored and used for subsequent calls to update that same customer.

CURL

curl -X POST https://gateway.mava.app/api/identify \
  -H "Content-Type: application/json" \
  -d '{
    "emailAddress": "",
    "mavaCustomerId": "",
    "customAttributes": [
      {
        "label": "exampleLabel",
        "value": "exampleValue"
      }
    ]
  }'

NodeJS

Schema

Last updated