Skip to main content
POST
/
v1
/
custom-kpi-datasets
/
{dataset_id}
/
campaigns
/
{campaign_id}
/
send-invites
Send Invites
const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};

fetch('https://api.dcycle.io/v1/custom-kpi-datasets/{dataset_id}/campaigns/{campaign_id}/send-invites', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "sent": 123
}

Authorizations

x-api-key
string
header
required

Headers

x-organization-id
string
x-api-key
string
x-user-id
string

Path Parameters

dataset_id
string<uuid>
required
campaign_id
string<uuid>
required

Response

Successful Response

Response for the bulk send-invites endpoint.

sent
integer
required

Number of invite events dispatched on this call.