Earnware API Post Documentation

By June 17, 2019April 23rd, 2020No Comments

Following are instructions for sending a POST payload to the Earnware API.

Production Endpoint:

Example Payload (JSON):


“userId”: “Your_User_Id_Here

“sourceId”: “Your_Source_Id_Here

“placementId”: “Your_Placement_Id_Here

“email”: “”,

“firstName”: “Fname”,

“lastName”: “Lname”,

“regDate”: “2017-10-30T22:48:15.092Z”,

“sourceUrl”: “”,

“ipAddress”: “”


The UserId referenced above is an example only, you’ll need YOUR actual userId which you can get from an Earnware support team member or by opening up any contact in your account – you’ll find your userId at the end of the URL in the address window, it will show userId=.

Use the sourceId and placementId that you wish to post and keep in mind, you can use one or both of these values as filter criteria to target your desired list using an Earnware Workflow.

Your payload can be submitted either as:

  • JSON (application/json) or
  • Form data (x-www-form-urlencoded)


curl -d ‘{“userId”: “Your_User_Id_Here“, “sourceId”: “Your_Source_Id_Here“, “placementId”: “Your_Placement_Id_Here“, “email”: “”, “firstName”: “Fname”, “lastName”: “Lname”, “regDate”: “2017-10-30T22:48:15.092Z”, “sourceUrl”: “”, “ipAddress”: “”}’ -H “Content-Type: application/json” -X POST