跳到主要内容

Create admin interaction token

POST 

/bv/cms/v1/lives/:id/interaction/tokens:admin

Deprecated. Use CreateChatroomToken instead. Provides an admin token tailored for managing the chatroom and polls of a specific live. If the chatroom and polls are disabled, an empty token will be returned.


  • Returns a 404/NotFound error if the requested live session is not found.

Request

Path Parameters

    id stringrequired

    Required. The unique id of the live.

Header Parameters

    x-bv-org-id stringrequired

    To invoke this API using api_token, you need to set the x-bv-org-id header to specify the organization for which you want to perform the action.

Body

required

    object

Responses

A successful response.

Schema
    chatroom_token string

    Output only. The access token for chatroom. It'll be empty if chatroom is disabled.

    poll_token string

    Output only. The access token for poll management. It'll be empty if poll is disabled.

    sticker_token string

    Output only. The access token for sticker management. It'll be empty if chatroom is disabled.

    word_filter_token string

    Output only. The access token for word filter management. It'll be empty if chatroom is disabled.

Loading...