Number of users per page, default:10, max:1000000
Converz Data API (1.0.5)
The Converz API lets you update and sync data about users, conversations and analytics into your own systems.
Use this API to:
- List, export, and update users and their attributes
- List, export, and update conversations with metadata and analytics
- Retrieve analytics that aggregate metrics across time, users, vendors, campaigns and more
Typical use cases:
- Load Converz data (like automatically generated summaries) into your data warehouse or CRM
- Build custom dashboards for operations / team leads
- Enrich internal tools with conversation and user metrics
- user – a support agent / user in your Converz environment (identified by
rep_id) - conversation – a single customer interaction with metadata, timing and analytics (identified by
call_id) - analytics – aggregated metrics over conversations and/or in-app user activity
All requests must be authenticated. Include your API key in every request header, for example:
X-API-Key: YOUR_API_KEY
Replace YOUR_API_KEY with a valid key for your environment. Keys are provisioned by Converz.
- Obtain an API key from your Converz contact.
- Make a test request to
GET /reps?n_per_page=1to verify connectivity (lists users). - Use
GET /callsto fetch conversation-level data for your desired period. - Use
GET /reportto retrieve analytics over conversations and/or users.
- Mock serverhttps://docs.converz.co/_mock/openapi/reps
- https://yourdomain.converz.co/api/v1/reps
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.converz.co/_mock/openapi/reps?n_per_page=0&page=0&department=string&rep_id=string&active=0' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Request
Update attributes on one or more users.
Input format can be columnar, e.g., {"rep_id":["mila","liam"],"gender":["f","m"]}, or row-wise, e.g., [{"rep_id":"mila","gender":"f"},{"rep_id":"liam","gender":"m"}].
Note: if a variable is supplied for only some rows, the value will be set to null for other rows, e.g., [{"rep_id":"mila","gender":"f"},{"rep_id":"liam","name":"Liam"}] will set mila's name to null and liam's gender to null.
A safe way to avoid bugs like this is to always use the columnar format, e.g., {"rep_id":["mila","liam"],"gender":["f","m"]} doesn't set any values to null, or {"rep_id":["mila","liam"],"gender":["f",null],"name":[null,"Liam"]} only sets the name for liam and the gender for mila.
Max rows per request: 100000.
- Mock serverhttps://docs.converz.co/_mock/openapi/reps
- https://yourdomain.converz.co/api/v1/reps
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.converz.co/_mock/openapi/reps \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{}'