Operator

Get operators

GET https://app.blinger.io/api/operators/all

This endpoint allows you to get operators.

Headers

NameTypeDescription

Authentication

string

Authentication token.

{
    "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"
        }
    ]
}

Get groups

GET https://app.blinger.io/api/operators/groups

Headers

NameTypeDescription

Authentication

string

Authentication token

{
    "status": 200,
    "data": [
        {
            "id": 1,
            "user_id": 1,
            "title": "Default",
            "priority": 1,
            "color": "#22539c",
            "is_default": true
        }
    ]
}

Create operator

POST https://app.blinger.io/api/operators/create

Path Parameters

NameTypeDescription

Authentication

string

Authentication token

Request Body

NameTypeDescription

operator_email

string

operator_password

string

{
    "status": 200,
    "data": {
        "invite_email": "bbb@bb.bb",
        "owner_user_id": 47,
        "id": 14758,
        "user_id": 14432
    }
}

Delete operator

POST https://app.blinger.io/api/operators/delete

Path Parameters

NameTypeDescription

Authentication

string

Authentication token

Request Body

NameTypeDescription

operator_id

integer

{
    "status": 200,
    "data": {
        "success": true
    }
}

Last updated