Number of conversations 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/calls
- https://yourdomain.converz.co/api/v1/calls
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.converz.co/_mock/openapi/calls?n_per_page=0&page=0&start_date=string&end_date=string&after=string&before=string&metric=string&rep_id=string&vendor=string&campaign=string&subcampaign=string&department=string&vendor_call_id=string&columns=string' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Request
Update attributes on one or more conversations.
Input format can be columnar, e.g., {"call_id":[1,2],"campaign":["A","B"]}, or row-wise, e.g., [{"call_id":1,"campaign":"A"},{"call_id":2,"campaign":"B"}].
Note: if a variable is supplied for only some rows, the value will be set to null for other rows, e.g., [{"call_id":1,"campaign":"A"},{"call_id":2,"subcampaign":"B1"}] will set conversation 1's subcampaign to null and conversation 2's campaign to null.
A safe way to avoid bugs like this is to always use the columnar format, e.g., {"call_id":[1,2],"campaign":["A","B"]} doesn't set any values to null, or {"call_id":[1,2],"campaign":["A",null],"subcampaign":[null,"B1"]} only sets the subcampaign for conversation 2 and the campaign for conversation 1.
Max rows per request: 100000.
- Mock serverhttps://docs.converz.co/_mock/openapi/calls
- https://yourdomain.converz.co/api/v1/calls
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.converz.co/_mock/openapi/calls \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{}'