{ "id": "send-attachments-too-large", "title": "Attachments over the limit", "given": { "site": "active" }, "request": { "method": "POST", "path": "/v1/send", "headers": { "authorization": "Bearer {{token}}", "idempotency-key": "{{idempotencyKey}}", "content-type": "application/json", "x-intecion-site": "{{host}}" }, "schema": "SendRequest", "body": { "product": "iapl", "productVersion": "1.17.0", "kind": "form-notification", "to": [ "{{recipient}}" ], "replyTo": "visitor@example.org", "senderName": "Kancelaria Example", "subject": "New enquiry", "text": "Hello.", "attachments": [ { "filename": "big.pdf", "contentType": "application/pdf", "content": { "$base64Bytes": 10485761 } } ] } }, "response": { "status": 413, "schema": "Error", "body": { "ok": false, "code": "too-large", "limit": "attachments" } }, "then": { "mails": 0 }, "client": { "retry": false, "reEnrol": false, "status": "relay-too-large" } }