Skip to content

Get integration health

POST
/api/public/integration-health
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.

Media typeapplication/json
One of:
undefined/empty object

No body or empty object - returns all advertisers without pixel data

object
Example
{}

Successfully retrieved integration health

Media typeapplication/json
Array<object>
object
name

The name of the integration

string
lookupName

The lookup name of the integration

string
issues

List of issues related to the integration

Array<object>
object
type

The type of issue

string
reported_at

The timestamp when the issue was last reported

string format: date-time
actions

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.

Array<string>
pixels

List of pixel data (only included when withPixels is true)

Array<object>
object
action

The action type

string
last_url

The URL of the last event which triggered the pixel

string
last_seen

The timestamp when the pixel was triggered

string format: date-time
Example
[
{
"issues": [
{
"actions": [
"purchase",
"signup"
]
}
]
}
]

Bad Request - Invalid request body

Media typeapplication/json
object
message

Nodejs Error

object
Examplegenerated
{
"message": {}
}

Unexpected error.

Media typeapplication/json
object
message

Nodejs Error

object
Examplegenerated
{
"message": {}
}