Users

A user in Gallabox is the entity of someone who has signed up with an account.

Get profile of authenticated user

GET https://server.gallabox.com/devapi/me

GET current users

GET profile of authenticated users

GET https://server.gallabox.com/devapi/accounts/:accountId/users

Headers

name
value
Description

apikey

{{apikey}}

Your api key

apiSecret

{{apiSecret}}

Your api Secret

Content-Type

application/json

content type

Path Parameters

Name
Type
Description

accountId

String

Your account Id

Response

[
    {
        "name": "sb2751",
        "email": "[email protected]",
        "accounts": [
            {
                "accountId": "629e06e58e13b5000ae338d5",
                "roleId": "60925e84f8fd0d000439dc9e",
                "availability": "Available",
                "teamIds": [],
                "channelIds": [
                    "629e0b6c3d6ad600044197a0"
                ],
                "createdAt": "2024-05-27T10:01:15.687Z",
                "updatedAt": "2024-05-27T10:01:15.687Z"
            }
        ],
        "id": "665459eb46c268e1e4674f4e",
        "exists": true
    }
]

UPDATE current users

Update the status of authenticated users

PATCH https://server.gallabox.com/devapi/accounts/:accountId/users/availability

Headers

name
value
Description

apikey

{{apikey}}

Your api key

apiSecret

{{apiSecret}}

Your api Secret

Content-Type

application/json

content type

Path Parameters

Name
Type
Description

accountId

String

Your account Id

Request Body


{
 "userIds":["6634af7f1ae87cb84d64e9d8"],
 "emailIds":["[email protected]"],
 "availability":"Away" 
}

Response

{
    "updatedCount": 1
}

Last updated