List

This endpoint will retrieve the list of all the team members associated to a specific bot.

Request

The following request will publish a chatbot on the currently active channels

curl --location --request GET 'https://<NODE>.xenioo.com/teams' \
--header 'Authorization: Bearer <BOT_AUTH_TOKEN>' \
--header 'Content-Type: application/json'

Response

If successful, the response will contain the list of all the team members associated with bot specified in the request token.

[
    {
        "Email": "somemail@somemail.com",
        "Group": "GROUP_NAME",
        "Status": "Accepted",
        "Permissions": {
            "ViewChatbotDesigner": true,
            "EditChatbot": true,
            "UnlockReference": false,
            [...]
        }
    }
]

Response Codes

This endpoint will reply with the following standard HTTP codes.

Code

Meaning

200

Ok. The request has been successfully fulfilled.

400

Bad Request. The supplied token is invalid or does not have enough permissions.

404

Not Found. The account or the chatbot specified could not be found.

Last updated