Operator

get
Get operators

https://app.blinger.io/api/operators/all
This endpoint allows you to get operators.
Request
Response
Request
Headers
Authentication
required
string
Authentication token.
Response
200: OK
Cake successfully retrieved.
{
"status": 200,
"data": [
{
"id": 1,
"user_id": 1,
"owner_user_id": 1,
"invite_email": "user1@gmail.com",
"conversations_token": "5c763415ee6c7"
},
{
"id": 2,
"user_id": 3,
"owner_user_id": 1,
"invite_email": "al@blinger.io",
"conversations_token": "5cf8c80657eec"
}
]
}
401: Unauthorized
Could not find a cake matching this query.
{
"error": "Empty token",
"status": 401
}

get
Get groups

https://app.blinger.io/api/operators/groups
Request
Response
Request
Headers
Authentication
required
string
Authentication token
Response
200: OK
{
"status": 200,
"data": [
{
"id": 1,
"user_id": 1,
"title": "Default",
"priority": 1,
"color": "#22539c",
"is_default": true
}
]
}
401: Unauthorized
{
"error": "Empty token",
"status": 401
}

post
Create operator

https://app.blinger.io/api/operators/create
Request
Response
Request
Path Parameters
Authentication
required
string
Authentication token
Body Parameters
operator_email
required
string
operator_password
required
string
Response
200: OK
{
"status": 200,
"data": {
"invite_email": "bbb@bb.bb",
"owner_user_id": 47,
"id": 14758,
"user_id": 14432
}
}
400: Bad Request
{
"error": {
"invite_email": "Email \"bbb@bb.bb\" has already been taken."
},
"status": 400
}

post
Delete operator

https://app.blinger.io/api/operators/delete
Request
Response
Request
Path Parameters
Authentication
required
string
Authentication token
Body Parameters
operator_id
required
integer
Response
200: OK
{
"status": 200,
"data": {
"success": true
}
}
400: Bad Request
{
"error": "Operator not found",
"status": 400
}