drow API definition (1.0.0)
drow API definition
/v1/campaign-attachments/
query Parameters
| campaign-id required  | string <uuid>    | 
| filter[filename] | string  <= 255 characters    | 
| page[limit] | integer (PageLimit)   [ 1 .. 1000 ]   Default:  100   | 
| page[offset] | integer (PageOffset)   >= 0   Default:  0   | 
Responses
Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "content-type": "string",
 - "created-at": "string",
 - "download-link": "string",
 - "filename": "string",
 - "ready-to-use": true,
 - "size": 0
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaign-attachments"
 
} 
], - "meta": { }
 
}/v1/campaign-attachments/
Request Body schema: application/json
required  | object   | ||||||||||||
  | |||||||||||||
| meta | object   | ||||||||||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "data": {
- "attributes": {
- "campaign-id": "813d49f3-d1bd-4284-8f68-6336be9a4d3e",
 - "content-type": "application/msword",
 - "filename": "string"
 
}, - "type": "campaign-attachments"
 
}, - "meta": { }
 
}Response samples
- 201
 - 4XX
 
Content type
application/vnd.api+json
{- "expiration-time": 0,
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "upload-data": { },
 - "upload-url": "string"
 
}/v1/campaign-attachments/{id}/
path Parameters
| id required  | string  Resource identifier  | 
query Parameters
| with-link | boolean  Default:  false   | 
Responses
Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "content-type": "string",
 - "created-at": "string",
 - "download-link": "string",
 - "filename": "string",
 - "ready-to-use": true,
 - "size": 0
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaign-attachments"
 
}, - "meta": { }
 
}/v1/campaign-attachments/{id}/process-upload/
path Parameters
| id required  | string  Resource identifier  | 
Request Body schema: application/json
object
 Responses
Request samples
- Payload
 
Content type
application/json
{ }Response samples
- 201
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "content-type": "string",
 - "created-at": "string",
 - "download-link": "string",
 - "filename": "string",
 - "ready-to-use": true,
 - "size": 0
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaign-attachments"
 
}, - "meta": { }
 
}/v1/campaign-contact-logs/
query Parameters
| campaign-id required  | string <uuid>    | 
| filter[contact-id] | string <uuid>    | 
| filter[email] | string <email>    | 
| page[limit] | integer (PageLimit)   [ 1 .. 1000 ]   Default:  100   | 
| page[offset] | integer (PageOffset)   >= 0   Default:  0   | 
Responses
Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "contact-id": "fcc26a5e-cac0-4dae-a49a-b0c319aba86b",
 - "created-at": "string",
 - "data": { },
 - "email": "string",
 - "event": "string",
 - "message": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaign-contact-logs"
 
} 
], - "meta": { }
 
}Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "contact-id": "fcc26a5e-cac0-4dae-a49a-b0c319aba86b",
 - "created-at": "string",
 - "data": { },
 - "email": "string",
 - "event": "string",
 - "message": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaign-contact-logs"
 
}, - "meta": { }
 
}/v1/campaign-contacts/
query Parameters
| campaign-id required  | string <uuid>    | 
| filter[email] | string <email>    | 
| filter[phone] | string <phonenumberE164>    | 
| page[limit] | integer (PageLimit)   [ 1 .. 1000 ]   Default:  100   | 
| page[offset] | integer (PageOffset)   >= 0   Default:  0   | 
Responses
Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "campaign-id": "813d49f3-d1bd-4284-8f68-6336be9a4d3e",
 - "contact-id": "fcc26a5e-cac0-4dae-a49a-b0c319aba86b",
 - "email": "string",
 - "first-name": "string",
 - "last-name": "string",
 - "phone": "string",
 - "send-email": true,
 - "send-sms": true,
 - "statistics": {
- "bounced": 0,
 - "delivered": 0,
 - "sends": 0,
 - "sms-receives": 0,
 - "sms-sends": 0,
 - "views": 0
 
} 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaign-contacts"
 
} 
], - "meta": { }
 
}/v1/campaign-contacts/
Request Body schema: application/json
required  | object   | ||||||||||||||||
  | |||||||||||||||||
| meta | object   | ||||||||||||||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "data": {
- "attributes": {
- "campaign-id": "813d49f3-d1bd-4284-8f68-6336be9a4d3e",
 - "email": "user@example.com",
 - "phone": "string",
 - "send-email": true,
 - "send-sms": false
 
}, - "type": "campaign-contacts"
 
}, - "meta": { }
 
}Response samples
- 201
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "campaign-id": "813d49f3-d1bd-4284-8f68-6336be9a4d3e",
 - "contact-id": "fcc26a5e-cac0-4dae-a49a-b0c319aba86b",
 - "email": "string",
 - "first-name": "string",
 - "last-name": "string",
 - "phone": "string",
 - "send-email": true,
 - "send-sms": true,
 - "statistics": {
- "bounced": 0,
 - "delivered": 0,
 - "sends": 0,
 - "sms-receives": 0,
 - "sms-sends": 0,
 - "views": 0
 
} 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaign-contacts"
 
}, - "meta": { }
 
}Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "campaign-id": "813d49f3-d1bd-4284-8f68-6336be9a4d3e",
 - "contact-id": "fcc26a5e-cac0-4dae-a49a-b0c319aba86b",
 - "email": "string",
 - "first-name": "string",
 - "last-name": "string",
 - "phone": "string",
 - "send-email": true,
 - "send-sms": true,
 - "statistics": {
- "bounced": 0,
 - "delivered": 0,
 - "sends": 0,
 - "sms-receives": 0,
 - "sms-sends": 0,
 - "views": 0
 
} 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaign-contacts"
 
}, - "meta": { }
 
}/v1/campaign-contacts/{id}/
path Parameters
| id required  | string  Resource identifier  | 
Request Body schema: application/json
required  | object   | ||||||||||||
  | |||||||||||||
| meta | object   | ||||||||||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "data": {
- "attributes": {
- "send-email": true,
 - "send-sms": true
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaign-contacts"
 
}, - "meta": { }
 
}Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "campaign-id": "813d49f3-d1bd-4284-8f68-6336be9a4d3e",
 - "contact-id": "fcc26a5e-cac0-4dae-a49a-b0c319aba86b",
 - "email": "string",
 - "first-name": "string",
 - "last-name": "string",
 - "phone": "string",
 - "send-email": true,
 - "send-sms": true,
 - "statistics": {
- "bounced": 0,
 - "delivered": 0,
 - "sends": 0,
 - "sms-receives": 0,
 - "sms-sends": 0,
 - "views": 0
 
} 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaign-contacts"
 
}, - "meta": { }
 
}/v1/campaign-contacts/{id}/text-response/
path Parameters
| id required  | string  Resource identifier  | 
Request Body schema: application/json
| message | string  <= 255 characters    | 
Responses
Request samples
- Payload
 
Content type
application/json
{- "message": "string"
 
}Response samples
- 201
 - 4XX
 
Content type
application/vnd.api+json
null/v1/campaign-redirects/
query Parameters
| campaign-id required  | string <uuid>    | 
| filter[contact-id] | string <uuid>    | 
| filter[tag] | string  <= 255 characters    | 
| page[limit] | integer (PageLimit)   [ 1 .. 1000 ]   Default:  100   | 
| page[offset] | integer (PageOffset)   >= 0   Default:  0   | 
Responses
Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "contact-id": "fcc26a5e-cac0-4dae-a49a-b0c319aba86b",
 - "created-at": "string",
 - "stat-views": 0,
 - "tag": "string",
 - "target-url": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaign-redirects"
 
} 
], - "meta": { }
 
}Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "contact-id": "fcc26a5e-cac0-4dae-a49a-b0c319aba86b",
 - "created-at": "string",
 - "stat-views": 0,
 - "tag": "string",
 - "target-url": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaign-redirects"
 
}, - "meta": { }
 
}/v1/campaign-redirects/{id}/
path Parameters
| id required  | string  Resource identifier  | 
Request Body schema: application/json
required  | object   | ||||||||||
  | |||||||||||
| meta | object   | ||||||||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "data": {
- "attributes": {
- "tag": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaign-redirects"
 
}, - "meta": { }
 
}Response samples
- 200
 
Content type
application/vnd.api+json
null/v1/campaigns/
query Parameters
| organization-id required  | string <uuid>    | 
| filter[name] | string  <= 255 characters    | 
| page[limit] | integer (PageLimit)   [ 1 .. 1000 ]   Default:  100   | 
| page[offset] | integer (PageOffset)   >= 0   Default:  0   | 
Responses
Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "auto-onboard": true,
 - "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "data": { },
 - "display-name": "string",
 - "email-from": "string",
 - "email-subject": "string",
 - "email-template": "string",
 - "last-modified-at": "string",
 - "last-modified-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "name": "string",
 - "sms-template": "string",
 - "start-time": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaigns"
 
} 
], - "meta": { }
 
}/v1/campaigns/
Request Body schema: application/json
required  | object   | ||||||||||||||||||||||||
  | |||||||||||||||||||||||||
| meta | object   | ||||||||||||||||||||||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "data": {
- "attributes": {
- "auto-onboard": false,
 - "data": { },
 - "display-name": "string",
 - "email-from": "support@carium.com",
 - "email-subject": "string",
 - "email-template": "string",
 - "name": "string",
 - "organization-id": "884b39d6-2921-4a2e-a4db-914267f75c54",
 - "sms-template": "string"
 
}, - "type": "campaigns"
 
}, - "meta": { }
 
}Response samples
- 201
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "auto-onboard": true,
 - "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "data": { },
 - "display-name": "string",
 - "email-from": "string",
 - "email-subject": "string",
 - "email-template": "string",
 - "last-modified-at": "string",
 - "last-modified-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "name": "string",
 - "sms-template": "string",
 - "start-time": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaigns"
 
}, - "meta": { }
 
}Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "auto-onboard": true,
 - "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "data": { },
 - "display-name": "string",
 - "email-from": "string",
 - "email-subject": "string",
 - "email-template": "string",
 - "last-modified-at": "string",
 - "last-modified-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "name": "string",
 - "sms-template": "string",
 - "start-time": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaigns"
 
}, - "meta": { }
 
}/v1/campaigns/{id}/
path Parameters
| id required  | string  Resource identifier  | 
Request Body schema: application/json
required  | object   | ||||||||||||||||||||||||
  | |||||||||||||||||||||||||
| meta | object   | ||||||||||||||||||||||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "data": {
- "attributes": {
- "auto-onboard": true,
 - "data": { },
 - "display-name": "string",
 - "email-from": "string",
 - "email-subject": "string",
 - "email-template": "string",
 - "name": "string",
 - "sms-template": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaigns"
 
}, - "meta": { }
 
}Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "auto-onboard": true,
 - "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "data": { },
 - "display-name": "string",
 - "email-from": "string",
 - "email-subject": "string",
 - "email-template": "string",
 - "last-modified-at": "string",
 - "last-modified-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "name": "string",
 - "sms-template": "string",
 - "start-time": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaigns"
 
}, - "meta": { }
 
}/v1/campaigns/{id}/add-contacts/
path Parameters
| id required  | string  Resource identifier  | 
Request Body schema: application/json
| emails required  | Array of strings  non-empty [ items  <= 255 characters  ]   | 
Responses
Request samples
- Payload
 
Content type
application/json
{- "emails": [
- "string"
 
] 
}Response samples
- 201
 - 4XX
 
Content type
application/vnd.api+json
null/v1/campaigns/{id}/get-preview/
path Parameters
| id required  | string  Resource identifier  | 
query Parameters
| contact-id required  | string <uuid>    | 
Responses
Response samples
- 4XX
 
Content type
application/vnd.api+json
{- "errors": [
- {
- "code": "string",
 - "detail": "string",
 - "meta": { },
 - "source": {
- "parameter": "string",
 - "pointer": "string"
 
}, - "status": 400
 
} 
] 
}/v1/campaigns/{id}/start/
path Parameters
| id required  | string  Resource identifier  | 
Request Body schema: application/json
| emails | Array of strings[ items  <= 255 characters  ]   | ||||
| resend | boolean  Default:  false   | ||||
object   | |||||
  | |||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "emails": [
- "string"
 
], - "resend": false,
 - "resend-filter": {
- "sends-threshold": 0,
 - "views-threshold": 0
 
} 
}Response samples
- 201
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "auto-onboard": true,
 - "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "data": { },
 - "display-name": "string",
 - "email-from": "string",
 - "email-subject": "string",
 - "email-template": "string",
 - "last-modified-at": "string",
 - "last-modified-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "name": "string",
 - "sms-template": "string",
 - "start-time": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "campaigns"
 
}, - "meta": { }
 
}/v1/contact-uploads/
query Parameters
| organization-id required  | string <uuid>    | 
| page[limit] | integer (PageLimit)   [ 1 .. 1000 ]   Default:  100   | 
| page[offset] | integer (PageOffset)   >= 0   Default:  0   | 
Responses
Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "message": "string",
 - "stats": { },
 - "status": "string",
 - "task-id": "8ff7a72a-ed49-4045-9aa2-840c122868e0",
 - "upload-info": {
- "data": { },
 - "expiration-time": 0,
 - "url": "string"
 
} 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "contact-uploads"
 
} 
], - "meta": { }
 
}/v1/contact-uploads/
Request Body schema: application/json
required  | object   | ||||||||||||
  | |||||||||||||
| meta | object   | ||||||||||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "data": {
- "attributes": {
- "content-type": "string",
 - "filename": "string",
 - "organization-id": "884b39d6-2921-4a2e-a4db-914267f75c54"
 
}, - "type": "contact-uploads"
 
}, - "meta": { }
 
}Response samples
- 201
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "message": "string",
 - "stats": { },
 - "status": "string",
 - "task-id": "8ff7a72a-ed49-4045-9aa2-840c122868e0",
 - "upload-info": {
- "data": { },
 - "expiration-time": 0,
 - "url": "string"
 
} 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "contact-uploads"
 
}, - "meta": { }
 
}Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "message": "string",
 - "stats": { },
 - "status": "string",
 - "task-id": "8ff7a72a-ed49-4045-9aa2-840c122868e0",
 - "upload-info": {
- "data": { },
 - "expiration-time": 0,
 - "url": "string"
 
} 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "contact-uploads"
 
}, - "meta": { }
 
}/v1/contact-uploads/{id}/process-upload/
path Parameters
| id required  | string  Resource identifier  | 
Request Body schema: application/json
object
 Responses
Request samples
- Payload
 
Content type
application/json
{ }Response samples
- 201
 
Content type
application/vnd.api+json
{- "task-id": "8ff7a72a-ed49-4045-9aa2-840c122868e0"
 
}/v1/contacts/
query Parameters
| organization-id required  | string <uuid>    | 
| filter[bounced] | boolean   | 
| filter[email] | string  <= 255 characters    | 
| filter[registered] | boolean   | 
| filter[unsubscribed] | boolean   | 
| page[limit] | integer (PageLimit)   [ 1 .. 1000 ]   Default:  100   | 
| page[offset] | integer (PageOffset)   >= 0   Default:  0   | 
Responses
Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "birth-date": "2019-08-24",
 - "bounce-status": "string",
 - "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "data": { },
 - "email": "string",
 - "first-name": "string",
 - "last-modified-at": "string",
 - "last-modified-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "last-name": "string",
 - "locale": "string",
 - "phone": "string",
 - "unsubscribed": true,
 - "user-id": "985e0971-72b1-44a2-96f2-064a853c99ad"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "contacts"
 
} 
], - "meta": { }
 
}/v1/contacts/
Request Body schema: application/json
required  | object   | ||||||||||||||||||||||
  | |||||||||||||||||||||||
| meta | object   | ||||||||||||||||||||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "data": {
- "attributes": {
- "birth-date": "2019-08-24",
 - "data": { },
 - "email": "user@example.com",
 - "first-name": "string",
 - "last-name": "string",
 - "locale": "string",
 - "organization-id": "884b39d6-2921-4a2e-a4db-914267f75c54",
 - "phone": "string"
 
}, - "type": "contacts"
 
}, - "meta": { }
 
}Response samples
- 201
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "birth-date": "2019-08-24",
 - "bounce-status": "string",
 - "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "data": { },
 - "email": "string",
 - "first-name": "string",
 - "last-modified-at": "string",
 - "last-modified-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "last-name": "string",
 - "locale": "string",
 - "phone": "string",
 - "unsubscribed": true,
 - "user-id": "985e0971-72b1-44a2-96f2-064a853c99ad"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "contacts"
 
}, - "meta": { }
 
}Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "birth-date": "2019-08-24",
 - "bounce-status": "string",
 - "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "data": { },
 - "email": "string",
 - "first-name": "string",
 - "last-modified-at": "string",
 - "last-modified-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "last-name": "string",
 - "locale": "string",
 - "phone": "string",
 - "unsubscribed": true,
 - "user-id": "985e0971-72b1-44a2-96f2-064a853c99ad"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "contacts"
 
}, - "meta": { }
 
}/v1/contacts/{id}/
path Parameters
| id required  | string  Resource identifier  | 
Request Body schema: application/json
required  | object   | ||||||||||||||||||||
  | |||||||||||||||||||||
| meta | object   | ||||||||||||||||||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "data": {
- "attributes": {
- "birth-date": "2019-08-24",
 - "data": { },
 - "email": "user@example.com",
 - "first-name": "string",
 - "last-name": "string",
 - "phone": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "contacts"
 
}, - "meta": { }
 
}Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "birth-date": "2019-08-24",
 - "bounce-status": "string",
 - "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "data": { },
 - "email": "string",
 - "first-name": "string",
 - "last-modified-at": "string",
 - "last-modified-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "last-name": "string",
 - "locale": "string",
 - "phone": "string",
 - "unsubscribed": true,
 - "user-id": "985e0971-72b1-44a2-96f2-064a853c99ad"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "contacts"
 
}, - "meta": { }
 
}/v1/design-components/
query Parameters
| design-id required  | string <uuid>    | 
| filter[name] | string  <= 255 characters    | 
| page[limit] | integer (PageLimit)   [ 1 .. 1000 ]   Default:  100   | 
| page[offset] | integer (PageOffset)   >= 0   Default:  0   | 
Responses
Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "args": { },
 - "created-at": "string",
 - "last-modified-at": "string",
 - "name": "string",
 - "text": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "design-components"
 
} 
], - "meta": { }
 
}/v1/design-components/
Request Body schema: application/json
required  | object   | ||||||||||||||
  | |||||||||||||||
| meta | object   | ||||||||||||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "data": {
- "attributes": {
- "args": { },
 - "design-id": "15e70a98-482a-4884-b06d-6b21d5b172fe",
 - "name": "string",
 - "text": "string"
 
}, - "type": "design-components"
 
}, - "meta": { }
 
}Response samples
- 201
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "args": { },
 - "created-at": "string",
 - "last-modified-at": "string",
 - "name": "string",
 - "text": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "design-components"
 
}, - "meta": { }
 
}/v1/design-components/{id}/
path Parameters
| id required  | string  Resource identifier  | 
query Parameters
| with-link | boolean  Default:  false   | 
Responses
Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "args": { },
 - "created-at": "string",
 - "last-modified-at": "string",
 - "name": "string",
 - "text": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "design-components"
 
}, - "meta": { }
 
}/v1/design-files/
query Parameters
| design-id required  | string <uuid>    | 
| filter[filename] | string  <= 255 characters    | 
| page[limit] | integer (PageLimit)   [ 1 .. 1000 ]   Default:  100   | 
| page[offset] | integer (PageOffset)   >= 0   Default:  0   | 
Responses
Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "content-type": "string",
 - "created-at": "string",
 - "download-link": "string",
 - "filename": "string",
 - "ready-to-use": true,
 - "size": 0
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "design-files"
 
} 
], - "meta": { }
 
}/v1/design-files/
Request Body schema: application/json
required  | object   | ||||||||||||
  | |||||||||||||
| meta | object   | ||||||||||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "data": {
- "attributes": {
- "content-type": "string",
 - "design-id": "15e70a98-482a-4884-b06d-6b21d5b172fe",
 - "filename": "string"
 
}, - "type": "design-files"
 
}, - "meta": { }
 
}Response samples
- 201
 - 4XX
 
Content type
application/vnd.api+json
{- "expiration-time": 0,
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "upload-data": { },
 - "upload-url": "string"
 
}/v1/design-files/{id}/
path Parameters
| id required  | string  Resource identifier  | 
query Parameters
| with-link | boolean  Default:  false   | 
Responses
Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "content-type": "string",
 - "created-at": "string",
 - "download-link": "string",
 - "filename": "string",
 - "ready-to-use": true,
 - "size": 0
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "design-files"
 
}, - "meta": { }
 
}/v1/design-files/{id}/process-upload/
path Parameters
| id required  | string  Resource identifier  | 
Request Body schema: application/json
object
 Responses
Request samples
- Payload
 
Content type
application/json
{ }Response samples
- 201
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "content-type": "string",
 - "created-at": "string",
 - "download-link": "string",
 - "filename": "string",
 - "ready-to-use": true,
 - "size": 0
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "design-files"
 
}, - "meta": { }
 
}/v1/designs/
query Parameters
| organization-id required  | string <uuid>    | 
| filter[name] | string  <= 255 characters    | 
| page[limit] | integer (PageLimit)   [ 1 .. 1000 ]   Default:  100   | 
| page[offset] | integer (PageOffset)   >= 0   Default:  0   | 
Responses
Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "description": "string",
 - "last-modified-at": "string",
 - "last-modified-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "name": "string",
 - "type": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "designs"
 
} 
], - "meta": { }
 
}/v1/designs/
Request Body schema: application/json
required  | object   | ||||||||||||||
  | |||||||||||||||
| meta | object   | ||||||||||||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "data": {
- "attributes": {
- "description": "string",
 - "name": "string",
 - "organization-id": "884b39d6-2921-4a2e-a4db-914267f75c54",
 - "type": "string"
 
}, - "type": "designs"
 
}, - "meta": { }
 
}Response samples
- 201
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "description": "string",
 - "last-modified-at": "string",
 - "last-modified-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "name": "string",
 - "type": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "designs"
 
}, - "meta": { }
 
}Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "description": "string",
 - "last-modified-at": "string",
 - "last-modified-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "name": "string",
 - "type": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "designs"
 
}, - "meta": { }
 
}/v1/designs/{id}/
path Parameters
| id required  | string  Resource identifier  | 
Request Body schema: application/json
required  | object   | ||||||||||||
  | |||||||||||||
| meta | object   | ||||||||||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "data": {
- "attributes": {
- "description": "string",
 - "name": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "designs"
 
}, - "meta": { }
 
}Response samples
- 200
 - 4XX
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "description": "string",
 - "last-modified-at": "string",
 - "last-modified-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "name": "string",
 - "type": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "designs"
 
}, - "meta": { }
 
}/v1/designs/{id}/export-campaign/
path Parameters
| id required  | string  Resource identifier  | 
Request Body schema: application/json
| campaign-id required  | string <uuid>    | 
Responses
Request samples
- Payload
 
Content type
application/json
{- "campaign-id": "813d49f3-d1bd-4284-8f68-6336be9a4d3e"
 
}Response samples
- 201
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-at": "string",
 - "created-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "description": "string",
 - "last-modified-at": "string",
 - "last-modified-by": {
- "email": "string",
 - "first-name": "string",
 - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
 - "last-name": "string"
 
}, - "name": "string",
 - "type": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "designs"
 
}, - "meta": { }
 
}/v1/purge-data/
Request Body schema: application/json
required  | object   | ||||||||||||||||||
  | |||||||||||||||||||
| meta | object   | ||||||||||||||||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "data": {
- "attributes": {
- "archive": false,
 - "entity-id": "string",
 - "entity-type": "individual",
 - "reference-id": "string",
 - "request-id": "string"
 
}, - "type": "system-purges"
 
}, - "meta": { }
 
}Response samples
- 201
 
Content type
application/vnd.api+json
nullResponse samples
- 200
 
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "classpath": "string",
 - "created-time": "string",
 - "last-poll-time": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "replicators"
 
} 
], - "meta": { }
 
}Response samples
- 200
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "classpath": "string",
 - "created-time": "string",
 - "last-poll-time": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "replicators"
 
}, - "meta": { }
 
}/v1/sniffers/
Request Body schema: application/json
required  | object   | ||||||||||
  | |||||||||||
| meta | object   | ||||||||||
Responses
Request samples
- Payload
 
Content type
application/json
{- "data": {
- "attributes": {
- "user-id": "985e0971-72b1-44a2-96f2-064a853c99ad",
 - "valid-until": "string"
 
}, - "type": "sniffers"
 
}, - "meta": { }
 
}Response samples
- 201
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-time": "string",
 - "user-id": "985e0971-72b1-44a2-96f2-064a853c99ad",
 - "valid-until": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "sniffers"
 
}, - "meta": { }
 
}Response samples
- 200
 
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-time": "string",
 - "user-id": "985e0971-72b1-44a2-96f2-064a853c99ad",
 - "valid-until": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "sniffers"
 
}, - "meta": { }
 
}/v1/sniffers/{id}/get-logs/
path Parameters
| id required  | string  Resource identifier  | 
query Parameters
| page[limit] | integer (PageLimit)   [ 1 .. 1000 ]   Default:  100   | 
| page[offset] | integer (PageOffset)   >= 0   Default:  0   | 
Responses
Response samples
- 200
 
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "body": "string",
 - "content_type": "string",
 - "created-time": "string",
 - "message": "string",
 - "method": "string",
 - "path": "string",
 - "query-string": "string",
 - "request-id": "string",
 - "response": "string",
 - "status-code": 0,
 - "trace-id": "string",
 - "user-agent": "string"
 
}, - "id": "11111111-1111-1111-1111-111111111111",
 - "type": "sniffer-logs"
 
} 
], - "meta": { }
 
}