Create campagne
Authorization
apikey-header-authorization authorization<token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Payload pour la création d'une campagne
Response Body
application/json
curl -X POST "https://example.com/campagns" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "message": { "body": "string" }, "channels": [ "string" ], "owner": "string" }'{ "type": "string", "code": "string", "status": 0, "message": "string", "data": { "id": "string", "title": "string", "body": "string", "providerId": "string", "payload": {}, "type": "email", "scope": "string", "context": { "type": "string", "refId": "string", "label": "string" }, "status": "unread", "participants": [ { "profil": "string", "role": "member", "joinedAt": "2019-08-24T14:15:22Z" } ], "owner": "string", "integration": {}, "metadata": {}, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "integrationId": "string" }}