Operator
Get operators
GET https://app.blinger.io/api/operators/all
This endpoint allows you to get operators.
Headers
Name
Type
Description
Authentication
string
Authentication token.
{
"status": 200,
"data": [
{
"id": 1,
"user_id": 1,
"owner_user_id": 1,
"invite_email": "[email protected]",
"conversations_token": "5c763415ee6c7"
},
{
"id": 2,
"user_id": 3,
"owner_user_id": 1,
"invite_email": "[email protected]",
"conversations_token": "5cf8c80657eec"
}
]
}{
"error": "Empty token",
"status": 401
}Get groups
GET https://app.blinger.io/api/operators/groups
Headers
Name
Type
Description
Authentication
string
Authentication token
{
"status": 200,
"data": [
{
"id": 1,
"user_id": 1,
"title": "Default",
"priority": 1,
"color": "#22539c",
"is_default": true
}
]
}{
"error": "Empty token",
"status": 401
}Create operator
POST https://app.blinger.io/api/operators/create
Path Parameters
Name
Type
Description
Authentication
string
Authentication token
Request Body
Name
Type
Description
operator_email
string
operator_password
string
{
"status": 200,
"data": {
"invite_email": "[email protected]",
"owner_user_id": 47,
"id": 14758,
"user_id": 14432
}
}{
"error": {
"invite_email": "Email \"[email protected]\" has already been taken."
},
"status": 400
}Delete operator
POST https://app.blinger.io/api/operators/delete
Path Parameters
Name
Type
Description
Authentication
string
Authentication token
Request Body
Name
Type
Description
operator_id
integer
{
"status": 200,
"data": {
"success": true
}
}{
"error": "Operator not found",
"status": 400
}Last updated
Was this helpful?