Skip to main content
POST
/
sends
/
{id}
/
test
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>"
}
This endpoint can be used to send a test email for a send.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the send

Body

application/json

Test email configuration

To
string<email>
required

The email address to send the test to

Response

Test email sent successfully

To
string<email>

The recipient email address

SubmittedAt
string<date-time>

The timestamp when the email was submitted

MessageID
string

The unique message ID assigned by Postmark

ErrorCode
integer

Error code if the send failed (0 for success)

Message
string

Status message