メインコンテンツまでスキップ

Get chatroom config

GET 

https://api.one.blendvision.com/bv/chatroom/v1/chatrooms/config

Retrieves the chatroom configuration data necessary for initialization. Authorization requires the chatroom token in the header.

Request

Header Parameters

    authorization string

    This API should be invoked with the chatroom token.

Responses

A successful response.

Schema
    connection object

    The connection information for connecting to the chatroom.

    endpoint string

    The endpoint of the chatroom to connect.

    authorizer string

    The authorizer of the chatroom to connect.

    token string

    The token of the chatroom to connect.

    signature string

    The signature of the chatroom token to connect.

    client_id string

    The client id of the chatroom to connect.

    topic object

    The topic information.

    pub string

    The publish topic for sending the messages to other clients.

    sub string

    The subscribe topic for receiving messages from other clients.

    user object

    The user information.

    is_admin boolean

    Indicates the user whether or not an admin.

    is_guest boolean

    Indicates the user whether or not a guest.

    customer_id string

    The identifier of the customer.

    device_id string

    The identifier of the device.

    custom_name string

    The name of the customer.

    token object

    The token information.

    expired_at date-time

    The time when the token will be expired.

Authorization: authorization

name: authorizationtype: apiKeydescription: Enter the token with Bearer schema prefix, eg. `Bearer <token-string>`in: header
curl -L 'https://api.one.blendvision.com/bv/chatroom/v1/chatrooms/config' \
-H 'Accept: application/json' \
-H 'authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://api.one.blendvision.com
Auth
Parameters
— header
ResponseClear

Click the Send API Request button above and see the response here!