Skip to main content
POST
/
v2
/
campaign
/
create_with_touchpoint
Create Campaign
curl --request POST \
  --url https://prod-contactswing-fastapi-962560522883.us-central1.run.app/v2/campaign/create_with_touchpoint \
  --header 'Authorization: <authorization>'
{
  "ctx_id": "<string>",
  "data": {
    "id": "<string>",
    "name": "<string>",
    "status": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.contactswing.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
required
Enter your ContactSwing JWT Bearer token.

Request Body

name
string
required
Campaign display name
type
string
Campaign type.
business_goal
string
The business goal of the campaign.
company_plan_id
string
The company plan ID.
workspace_id
string
The workspace ID.

Response

201 Created - Campaign created successfully
ctx_id
string
Request context ID
data
object
id
string
Campaign ID
name
string
Campaign name
status
string
Campaign status
400 Bad Request - Invalid input