Skip to content

Create a test-sending

# Create a test-sending

POST /integrations/inxmail-professional/mailing-synchronizations/{id}/test-sendings

Request Parameters

Parameter Required In Description
id yes path The ID of the Mailing Synchronization the test-sending shall be created for.

Payload Structure

Path Type Description Constraints
testProfileId Long ID of the test-profile which should be used for personalization of the test-sending. See also Retrieving a test profiles for a Mailing Synchronization. If not provided the mailing will be personalized with an empty profile.
recipientAddress String E-Mail address of the test-sending recipient
  • mutually exclusive with testMailGroupId
  • must be a valid email address
  • you can only use one address - no support for multiple addresses so far
testMailGroupId Long ID of the test-mail-group. These IDs can be retrieved with a HTTP request to the test-mail-groups endpoint
  • mutually exclusive with recipientAddress
kind String Options: latest, draft or lastApproved (default: latest)

Basic Example

Request:

$ curl 'https://myka-1.my-api.inxmail.de/integrations/inxmail-professional/mailing-synchronizations/0b405924-a96a-4c52-a20e-488d554f518a/test-sendings' -i -X POST \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Basic <base64Encoded user:password>' \
    -d '{
  "testProfileId" : 10,
  "recipientAddress" : "somebody@dummy.invalid"
}'

Response:

HTTP/1.1 202 Accepted