Zapier API docs
1. Add Collected Link Action: /api/zapier/add-collected-link – POST
Add a new collected item to a newsletter
Request
Query Parameter
Field | Type | Description |
api_key | String | Zapier API key for the user |
In Body
Field | Type | Description |
publication | String | The publication id you want to add a new item to |
url | String | The item URL |
title | String | The item title |
description | String | The item description |
image_url | String | The item image URL |
Response
Field | Type | Description |
id | String | The created item id |
url | String | The create item url |
2. Add Subscriber Action: /api/zapier/add-subscriber- POST
Add a new subscriber to a newsletter
Request
Query Parameter
Field | Type | Description |
api_key | String | Zapier API key for the user |
In Body
Field | Type | Description |
publication | String | The publication id you want to add subscribers to |
String | Subscriber email |
Response
Field | Type | Description |
String | The created subscriber email |
3. Get Latest Collected Items Trigger: /api/zapier/get-latest-collected-items – GET
Get the latest collected items
Request
Query Parameter
Field | Type | Description |
api_key | String | Zapier API key for the user |
publication | String | The publication id you want to fetch the latest collected item from |
Response
Array of objects
Field | Type | Description |
id | String | Item id |
link | String | The collected item link |
title | String | The collected item title |
description | String | description |
imageUrl | String | The image url for the collected item |
4. Get Latest Issues Trigger: /api/zapier/get-latest-issues – GET
Get the latest published issues
Request
Query Parameter
Field | Type | Description |
api_key | String | Zapier API key for the user |
publication | String | The publication id you want to fetch the latest published issues from |
Response
Array of objects
Field | Type | Description |
id | String | Item id |
name | String | Issue name |
publishedDate | String | The issue published date |
5. Get Latest Subscribers Trigger: /api/zapier/get-latest-subscribers – GET
Get the latest subscribers
Request
Query Parameter
Field | Type | Description |
api_key | String | Zapier API key for the user |
publication | String | The publication id you want to fetch the latest published issues from |
Response
Array of objects
Field | Type | Description |
id | String | Item id |
String | The subscriber email |
6. Get List of publications Trigger: /api/zapier/get-publications – GET
Get the list of publication the user with API key have access to
Request
Query Parameter
Field | Type | Description |
api_key | String | Zapier API key for the user |
Response
Array of objects
Field | Type | Description |
id | String | Item id |
name | String | The publication name |
7. Validate Zapier API key: /api/trpc/user.validateZapierAPIKey – GET
Check if the Zapier API key is a valid one
Request
Query Parameter
Field | Type | Description |
api_key | String | Zapier API key for the user |
Response
Array of objects
Field | Type | Description |
success | boolean | Indicates whether the API key is valid or no |