Experiment before you code! To help you build your integration, we offer multiple options for testing your implementation.
Emarsys Developer Hub
You can test every endpoint with your real data right here on the developer hub. Proceed with care, this functionality is not a sandbox.
- Select the endpoint you want to test.
- Click Try it out.
- Fill in your authentication information in the navigation bar.
- Provide the required parameters.
- Click Send request.
Your request is sent to our servers and returns real data.
Code samples and specifications are also at your fingertips. Go to the Code Generation tab at the endpoint page to find production-ready code samples for each endpoint in multiple languages. You can insert it into your code with a simple copy and paste.
Curl commands are also available in the code samples.
If you prefer Postman, download our categorized libraries that contain all endpoints with examples.
You must compute the WSSE header value manually when using Postman and insert it into the
The API Demo Page
We provide a demo page where you can experiment with the API capabilities. This has a graphical user interface allowing experimentation with API requests and their parameters. The responses are then displayed so users can see what to expect.
- To access the demo environment, visit https://api.emarsys.net/api-demo.
- To check whether the access data is valid, make a test request to see what languages are available. For this, go to the Contact Fields tab. Leave the Language code field empty and click OK. The response will appear on the right of the same page, including some information about the request. The following table shows the possible responses and the reasons for failure:
|Response (replyCode, replyText)
||You succeeded, and your credentials were accepted.
||You should see the list of the languages.
||Something is wrong with your credentials.
||Check your access information again.
|No response at all
The response of your request always appears in the top right of the page so, after sending a request, don’t forget that you might need to scroll up to see the response.