User

Get user

GET https://app.blinger.io/api/users/get

This endpoint allows you to get user by ID

Query Parameters

NameTypeDescription

blinger_user_id*

integer

{
    "status": 200,
    "data": {
        "id": 9757,
        "service_blinger_id": 2,
        "blinger_user_id": 121876,
        "is_active": true,
        "date_updated": 1643803693,
        "date_created": 1643803693,
        "tags": null,
        "name": "Alex",
        "role": "default",
        "avatar": null,
        "application": "telegrambot",
        "service_user_id": "888719349",
        "status": "enabled",
        "group_id": null,
        "is_comments": null,
        "page_url": null,
        "page_title": null,
        "extra_fields": null,
        "extra_field_secret_key": "4VQdxv9CHRzw7j7Xd0S-zx2sHtVxsck9",
        "custom_name": null,
        "dialog_id": null,
        "comments_group_id": null,
        "phone": null,
        "service_user_nickname": "alex"
    }
}

Update user

POST https://app.blinger.io/api/users/update

Query Parameters

NameTypeDescription

blinger_user_id*

integer

Request Body

NameTypeDescription

name

string

phone

string

{
    "status": 200,
    "data": {
        "id": 97,
        "service_blinger_id": 2,
        "blinger_user_id": 121973,
        "is_active": true,
        "date_updated": 1643803693,
        "date_created": 1643803693,
        "tags": null,
        "name": "Alex",
        "role": "default",
        "avatar": null,
        "application": "telegrambot",
        "service_user_id": "879739591",
        "status": "enabled",
        "group_id": null,
        "is_comments": null,
        "page_url": null,
        "page_title": null,
        "extra_fields": null,
        "extra_field_secret_key": "4VQdxv7CHRzw1j3Xd0S-zq2sHjVxsck4",
        "custom_name": null,
        "dialog_id": null,
        "comments_group_id": null,
        "phone": "35799756493",
        "service_user_nickname": "alex"
    }
}

Last updated