Invite Channel Viewers via CSV

Invite viewers to a channel by uploading a CSV file.

Path Parameters
  • video_workspace_id
    Type: string
    required

    Gumlet workspace ID. You can get it on Gumlet dashboard or retrieve it using list workspace API.

Body
required
application/json
Responses
  • application/json
  • application/json
Request Example for post/channel/{video_workspace_id}/viewers/invite/csv
import Gumlet from '@gumlet/nodejs-sdk';

const client = new Gumlet({
  apiKey: process.env['API_KEY'], // defaults to the API_KEY env var
});

const channelViewer = await client.channelViewers.inviteCsv('videoWorkspaceId', {
  viewers_csv: 'viewers.csv',
});

console.log(channelViewer);
{
  "success": true
}