Skip to main content

Refresh chatroom token

POST 

/bv/chatroom/v1/chatrooms/tokens:refresh

Retrieves a new chatroom token from the refresh token. It's useful to extend the token when the original token has expired. This API does not require to provide any authorization token. It'll verify whether the given refresh token is valid or not.

Request

Body

required
    refresh_token stringrequired

    Required. The refresh token to retrieve a new chatroom token.

Responses

A successful response.

Schema
    token string

    The chatroom token is used while connecting to the chatroom, also the token is needed when invoking chatroom APIs.

    expires_in int32

    Indicates the lifetime in seconds of the token.

Loading...