XreplyAIDevelopers
API ReferenceSite Pushes

Get the connection's status and recent pushes

Read-only status for the authenticated Site Connection: connection details, its automation rules, and the 10 most recent pushed articles. Powers the plugin's Test Connection button and status displays.

GET
/site_pushes/status

Authorization

SiteConnectionToken
AuthorizationBearer <token>

A Site Connection token created in the dashboard (Settings > Sites). Scoped to one connected site: it can only push that site's articles and read that connection's status. Personal API keys and dashboard sessions cannot call Site Push endpoints, and this token cannot call any other endpoint.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/site_pushes/status"
{  "connection": {    "name": "string",    "site_url": "string",    "cms": "string",    "last_push_at": "2019-08-24T14:15:22Z",    "unmatched_pushes": 0  },  "rules": [    {      "id": 0,      "platform": "string",      "trigger": "publish",      "schedule_mode": "draft",      "enabled": true    }  ],  "recent_pushes": [    {      "url": "string",      "title": "string",      "last_pushed_at": "2019-08-24T14:15:22Z",      "consumed_at": "2019-08-24T14:15:22Z"    }  ]}