cURL
curl --request POST \ --url https://karibu.briq.tz/v1/campaign/create/ \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <x-api-key>' \ --data '{ "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "launch_date": "2023-11-07T05:31:56Z" }'
{ "campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "description": "<string>", "launch_date": "2023-11-07T05:31:56Z", "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z" }
Create a new campaign (only in developer-accessible workspaces owned by the user).
Successful Response