Get Integration Health
Retrieves the health status of various integrations, including issues and timestamps. Optionally filter by advertiser name and include pixel data.
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);}import requests
url = "https://backend.podscribe.ai/api/public/integration-health"
payload = {}headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.json())curl --request POST \ --url https://backend.podscribe.ai/api/public/integration-health \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'Request Body
Section titled “Request Body”No body or empty object - returns all advertisers without pixel data
Example
{}The advertiser name to filter results
Example
demoAdvertiserWhether to include pixel data in the response (requires advertiserName to be provided)
Example
falseResponse Body
Section titled “Response Body”The name of the advertiser
The lookup name of the advertiser
List of issues related to the integration
Array<{type,reported_at,actions}>
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)
Array<{action,last_url,last_seen}>
The action type
The URL of the last event which triggered the pixel
The timestamp when the pixel was triggered
[ { "issues": [ { "actions": [ "purchase", "signup" ] } ] }]