Invite Channel Viewers via CSV
Invite viewers to a channel by uploading a CSV file.
Path Parameters
- Type: stringvideo
_workspace _id requiredGumlet 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
}
