Get integration health
const url = 'https://backend.podscribe.ai/api/public/integration-health';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{}'};
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://backend.podscribe.ai/api/public/integration-health \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'Retrieves the health status of various integrations, including issues and timestamps. Optionally filter by advertiser name and include pixel data.
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”No body or empty object - returns all advertisers without pixel data
object
Example
{}object
The advertiser name to filter results
Example
demoAdvertiserWhether to include pixel data in the response (requires advertiserName to be provided)
Example
falseResponses
Section titled “Responses”Successfully retrieved integration health
object
The name of the integration
The lookup name of the integration
List of issues related to the integration
object
The type of issue
The timestamp when the issue was last reported
List of actions associated with the issue (only included when withPixels is true). Actions array will be provided with each issue. If specified, the issue is only related to these actions. Otherwise, the issue is overall and either not related to specific actions or related to all actions.
List of pixel data (only included when withPixels is true)
object
The action type
The URL of the last event which triggered the pixel
The timestamp when the pixel was triggered
Example
[ { "issues": [ { "actions": [ "purchase", "signup" ] } ] }]Bad Request - Invalid request body
object
Nodejs Error
object
Examplegenerated
{ "message": {}}Unexpected error.
object
Nodejs Error
object
Examplegenerated
{ "message": {}}