How-To: Use Postman & API Calls
Postman (API client)
Use Postman and API to test an email triggered from an event (e.g., ‘Welcome to the Program’) and have it triggered to the person who signed up, to confirm it is working correctly.
The below instructions are intended to help users navigate the Postman’s UI and make API calls.
Download Postman @ Download Postman | Get Started for Free
Click Products> click the 'Get started free' option.
Create an account.
Navigate to Workspaces to send a new API request.
Click New> HTTP Request
Navigate on another tab to Identify a User · Zeta Marketing Platform (readme.io)
Click Track an Event below ZETA Rest API.
Copy the URL below Definition:// https://api.zetaglobal.net/ver2/:site_id/activities.
Navigate back to Postman.
Change the drop down 'GET' to POST.
Paste the URL to the right of POST https://api.zetaglobal.net/ver2/:site_id/activities
Copy Site ID ZMP account id found under Settings> Integrations> Site Id
Update URL https://api.zetaglobal.net/ver2/client-services-sandbox/activities
Click Save. Save to Collection (Your library): (Create New) API Test> Save.
Click Authorization heading.
Change Type to Basic Auth.
Add Username: api
Add Password (found in Settings > copy the Rest API Key)
Paste into password in Postman.
Click Headers to add request type (what we are sending) and response type (what we want to see back).
Key > type Accept
Value > application/json
Key > Content-Type
10. Click Body header and click Raw (raw json) dial button.
Navigate to API Guide and scroll down to examples. Copy the JSON - brackets and data info within them.
Paste that into the body.
Update the "uid" : "enter your email"
Update the event : "signed_up"
Update the timestamp to current : e.g., "2021-12-03T1:30Z"
Update location to your: "enter city"
ring_owner"to "first_name": "enter your first name"
View stats at bottom.
Navigate to ZMP Experiences> Events to confirm the event populated in ZMP.