Get Site Inbox details
GET
/api/v0/site-inboxes/{site_inbox_uuid}- Path parameters:
- Example request:
- BashCopied to clipboard
curl https://app.cloudcannon.com/api/v0/site-inboxes/{site_inbox_uuid} \ -H "X-API-KEY: <your-api-key>" - Responses:
200OK
JSONCopied to clipboard{ "uuid": "00000000-0000-0000-0000-000000000000", "id": 0, "default_inbox": true, "site_id": 0, "inbox_uuid": "string", "visible": true, "require_captcha": true, "created_at": "2024-01-01T00:00:00Z", "updated_at": "2024-01-01T00:00:00Z", "site_uuid": "00000000-0000-0000-0000-000000000000", "inbox": { "uuid": "00000000-0000-0000-0000-000000000000", "id": 0, "name": "string", "key": "string", "monthly_quota": 0, "keep_form_hook_days": 0, "organisation_id": 0, "captcha_type": "string", "captcha_key": "string", "captcha_secret": "string", "created_at": "2024-01-01T00:00:00Z", "updated_at": "2024-01-01T00:00:00Z", "organisation_uuid": "00000000-0000-0000-0000-000000000000", "inbox_targets": [ { "uuid": "00000000-0000-0000-0000-000000000000", "id": 0, "target_type": "string", "target": "string", "validated": true, "config": {}, "inbox_uuid": "00000000-0000-0000-0000-000000000000", "created_at": "2024-01-01T00:00:00Z", "updated_at": "2024-01-01T00:00:00Z" } ] } }403Forbidden
JSONCopied to clipboard{ "error": "string" }
Update site inbox details
PUT
/api/v0/site-inboxes/{site_inbox_uuid}- Path parameters:
- Request body:
- Example request:
- BashCopied to clipboard
curl https://app.cloudcannon.com/api/v0/site-inboxes/{site_inbox_uuid} \ -X PUT \ -H "X-API-KEY: <your-api-key>" \ -H "Content-Type: application/json" \ -d '{ "inbox_uuid": "string", "default_inbox": true, "visible": true, "require_captcha": true }' - Responses:
200OK
JSONCopied to clipboard{ "uuid": "00000000-0000-0000-0000-000000000000", "id": 0, "default_inbox": true, "site_id": 0, "inbox_uuid": "string", "visible": true, "require_captcha": true, "created_at": "2024-01-01T00:00:00Z", "updated_at": "2024-01-01T00:00:00Z", "site_uuid": "00000000-0000-0000-0000-000000000000", "inbox": { "uuid": "00000000-0000-0000-0000-000000000000", "id": 0, "name": "string", "key": "string", "monthly_quota": 0, "keep_form_hook_days": 0, "organisation_id": 0, "captcha_type": "string", "captcha_key": "string", "captcha_secret": "string", "created_at": "2024-01-01T00:00:00Z", "updated_at": "2024-01-01T00:00:00Z", "organisation_uuid": "00000000-0000-0000-0000-000000000000", "inbox_targets": [ { "uuid": "00000000-0000-0000-0000-000000000000", "id": 0, "target_type": "string", "target": "string", "validated": true, "config": {}, "inbox_uuid": "00000000-0000-0000-0000-000000000000", "created_at": "2024-01-01T00:00:00Z", "updated_at": "2024-01-01T00:00:00Z" } ] } }401Unauthorized
JSONCopied to clipboard{ "error": "string" }403Forbidden
JSONCopied to clipboard{ "error": "string" }422Unprocessable
JSONCopied to clipboard{ "errors": {} }
Delete Site Inbox
DELETE
/api/v0/site-inboxes/{site_inbox_uuid}- Path parameters:
- Example request:
- BashCopied to clipboard
curl https://app.cloudcannon.com/api/v0/site-inboxes/{site_inbox_uuid} \ -X DELETE \ -H "X-API-KEY: <your-api-key>" - Responses:
204Deleted
401Unauthorized
JSONCopied to clipboard{ "error": "string" }403Forbidden
JSONCopied to clipboard{ "error": "string" }