Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Security
SecretApiKey or JWT
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/email-messages/{id}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/email-messages/{id}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/email-messages/{id}
curl -i -X PATCH \
'https://www.rebilly.com/_mock/catalog/all/email-messages/{id}' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"status": "outbox"
}'Headers
Number of requests still available for this rate limit. For more information, see Rate limits.
Example:499
Example:"mail_msg_0YVCNR8ZRBCVMAX28DP4XRFZVA"
Example:
{ "eventType": "subscription-canceled" }
ID of the SMTP or Email Service Provider (ESP) credential.
Example:"b120c2ca-6c2b-4690-9dff-3b0d87852dc7"
Example:"from-example@rebilly.com"
Example:
[ "to-example@rebilly.com" ]
Example:
[ "cc-example@rebilly.com" ]
Example:
[ "cc-example@rebilly.com" ]
Example:"Welcome dear customer!"
Example:250
Response
{ "id": "mail_msg_0YVCNR8ZRBCVMAX28DP4XRFZVA", "status": "draft", "metadata": { "eventType": "subscription-canceled" }, "credentialHash": "b120c2ca-6c2b-4690-9dff-3b0d87852dc7", "from": "from-example@rebilly.com", "to": [ "to-example@rebilly.com" ], "cc": [ "cc-example@rebilly.com" ], "bcc": [ "cc-example@rebilly.com" ], "subject": "Welcome dear customer!", "text": "Email message text body", "html": "<p>Email message html body</p>", "attachments": [ { … } ], "responseCode": 250, "responseBody": "string", "initiatedTime": "2019-08-24T14:15:22Z", "sentTime": "2019-08-24T14:15:22Z", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }