postSync
const url = 'https://example.com/api/v1/sync';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"requests":[{"action_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","occurred_at":"2026-04-15T12:00:00Z","type":"subscription","action":"subscribe","data":{"sync_id":"4648b4d7-90bf-497c-a5e7-8383d1083d76","guid":"677ea490-690e-51cb-8b43-755df6c55270","feed_url":"https://example.com/feed1","subscribed_at":"2026-07-11T15:30:00.1Z"}}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/sync \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "requests": [ { "action_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "occurred_at": "2026-04-15T12:00:00Z", "type": "subscription", "action": "subscribe", "data": { "sync_id": "4648b4d7-90bf-497c-a5e7-8383d1083d76", "guid": "677ea490-690e-51cb-8b43-755df6c55270", "feed_url": "https://example.com/feed1", "subscribed_at": "2026-07-11T15:30:00.1Z" } } ] }'Post up to 30 actions per batch
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”A unique identifier generated by the client for excluding results
Request Body
Section titled “Request Body”The array of actions sent to the client
object
object
The client-generated UUIDv4 identifier for the action
The UTC timestamp at which the action occurred on the client
object
object
The server-generated synchronization ID for the subscription
The guid field as found in the podcast’s RSS feed
The canonical address of the podcast RSS feed
The UTC timestamp at which the user subscribed to the feed
The UTC timestamp at which the user unsubscribed from the feed
Responses
Section titled “Responses”Actions handled
object
object
The client-generated UUIDv4 identifier for the action
The target entity type
The action being taken on the target
object
The server-generated synchronization ID for the subscription
The guid field as found in the podcast’s RSS feed
The canonical address of the podcast RSS feed
The UTC timestamp at which the user subscribed to the feed
The UTC timestamp at which the user unsubscribed from the feed
Example
{ "results": [ { "status": "applied", "type": "subscription", "action": "subscribe", "data": { "sync_id": "4648b4d7-90bf-497c-a5e7-8383d1083d76", "guid": "677ea490-690e-51cb-8b43-755df6c55270", "feed_url": "https://example.com/feed1", "subscribed_at": "2026-07-11T15:30:00.1Z" } } ]}Bad request
Generic error object
object
The error message
The error description
Example
{ "error": "Bad request", "description": "The request payload is invalid. Check the number of entries."}Access token is invalid
Generic error object
object
The error message
The error description
Example
{ "error": "Unauthorized", "description": "The supplied access token is invalid"}Internal server error
Generic error object
object
The error message
The error description
Example
{ "error": "Internal server error", "description": "The server encountered an error while processing the request"}