simpla.fydocs

Create a campaign in DRAFT status (admin only)

POST
/api/v1/orgs/{orgId}/campaigns

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/api/v1/orgs/{orgId}/campaigns" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "templateId": "196100ac-4eec-4fb6-a7f7-86c8b584771d",    "channelId": "5f6d08bc-455a-4532-98b8-19e2cee51160",    "filters": {      "property1": null,      "property2": null    }  }'
Empty
Empty