cURL
curl --request POST \ --url https://api.notocat.com/v1/sends/{id}/test \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "To": "[email protected]" } '
{ "To": "[email protected]", "SubmittedAt": "2023-11-07T05:31:56Z", "MessageID": "<string>", "ErrorCode": 123, "Message": "<string>" }
Learn how to send a test email for a send using the Notocat API.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the send
Test email configuration
The email address to send the test to
Test email sent successfully
The recipient email address
The timestamp when the email was submitted
The unique message ID assigned by Postmark
Error code if the send failed (0 for success)
Status message
Was this page helpful?