AnalyticsSales reps
People of the space a conversation can belong to: the measured side and the customer side. Not agents: an agent is a configuration of an AI, this is a human.
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using Bearer scheme
In: header
Query Parameters
includeInactive?boolean
Include people who no longer work here.
Default
falsekind?string
One side only. Omit to get the whole directory.
Value in
"Manager" | "Client"Response Body
application/json
curl -X GET "https://test.api.speaknode.com/api/Analytics/sales-reps"{
"sales_reps": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"kind": "Manager",
"full_name": "string",
"company": "string",
"email": "string",
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
"external_ids": [
"string"
],
"hired_at": "2019-08-24T14:15:22Z",
"is_active": true,
"session_count": 0
}
]
}Stops the batch: queued jobs are dropped and the conversations are marked cancelled, which is what a running worker checks before writing anything. POST
Previous Page
Adds a person. External ids are how uploaded recordings find their owner automatically, so they must be unique within the space. POST
Next Page