Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

CreateCampaignInfo Object

Description

The CreateCampaignInfo object is used to create a campaign.

Usage Example

Use in the POST Campaigns endpoint.

name
string
required

The name of the campaign.

Example:

"Q3 Access Review"

configuration
object
required

Configuration for the campaign. Required; use an empty object to apply defaults.

Example:

Response

201 - application/json

The campaign successfully created.

An access review campaign.

campaign_id
string<uuid>
required

The ID of the campaign.

Example:

"f454d283-ca87-4a8a-bdbb-df212eca5353"

name
string
required

The name of the campaign.

Example:

"Q3 Access Review"

status
enum<string>
required

The current status of a campaign.

Available options:
DRAFT,
ONGOING,
COMPLETED,
STOPPED,
ENDED
Example:

"ONGOING"

is_template
boolean
required

Whether this campaign is a recurring schedule template. Templates spawn draft campaigns on schedule rather than being reviewed directly.

Example:

false

created_at
string<date-time>
required

The creation time of the campaign.

Example:

"2026-07-01T00:00:00.000Z"

updated_at
string<date-time>
required

The last updated time of the campaign.

Example:

"2026-07-01T00:00:00.000Z"

created_by_user_id
string<uuid>
required

The ID of the user who created the campaign.

Example:

"32acc112-21ff-4669-91c2-21e27683eaa1"

configuration
object | null

The campaign's configuration, if set.

Example:
started_at
string<date-time> | null

The time the campaign was started, if started.

Example:

"2026-07-02T00:00:00.000Z"

started_by_user_id
string<uuid> | null

The ID of the user who started the campaign, if started.

Example:

"32acc112-21ff-4669-91c2-21e27683eaa1"

stopped_at
string<date-time> | null

The time the campaign was manually stopped, if stopped.

Example:

"2026-07-10T00:00:00.000Z"

stopped_by_user_id
string<uuid> | null

The ID of the user who stopped the campaign, if stopped.

Example:

"32acc112-21ff-4669-91c2-21e27683eaa1"

ended_at
string<date-time> | null

The time the campaign reached its scheduled end, if ended.

Example:

"2026-07-14T00:00:00.000Z"

ended_by_user_id
string<uuid> | null

The ID of the user who ended the campaign, if ended.

Example:

"32acc112-21ff-4669-91c2-21e27683eaa1"

Last modified on July 27, 2026