Skip to main content
POST
Create Campaign

Authorizations

Authorization
string
header
required

A token from the API page: https://snapwidget.com/settings/api

Body

application/json
name
string

The campaign name, unique among the user's campaigns (a new campaign needs it).

description
string

A short text for the join page (a new campaign needs it).

hashtag
string

The hashtag of the posts to show, without #.

campaign_signup_title
string

The title of the join page.

campaign_signup_description
string

The text of the join page.

campaign_signup_image_url
string

A link to the image of the join page.

campaign_signup_color
string

The color of the join page, for example #1f6feb.

Response

The answer, as JSON.

The response is of type object.