RelayAPI

Check health of all connected accounts

GET
/v1/accounts/health
AuthorizationBearer <token>

API key (rlay_live_* or rlay_test_). Invite redemption also accepts a server-derived rlay_session_ bearer for a current user session.

In: header

Query Parameters

cursor?string

Pagination cursor

limit?integer

Number of items per page

Range1 <= value <= 100
Default20

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/accounts/health"
{  "data": [    {      "avatar_url": "string",      "display_name": "string",      "error": {        "code": "string",        "message": "string"      },      "healthy": true,      "id": "string",      "platform": "twitter",      "scopes": [        "string"      ],      "sync": {        "consecutive_errors": 0,        "enabled": true,        "last_error": "string",        "last_error_at": "2019-08-24T14:15:22Z",        "last_sync_at": "2019-08-24T14:15:22Z",        "next_sync_at": "2019-08-24T14:15:22Z",        "rate_limit_reset_at": "2019-08-24T14:15:22Z",        "total_posts_synced": 0,        "total_sync_runs": 0      },      "token_expires_at": "2019-08-24T14:15:22Z",      "username": "string",      "workspace": {        "id": "string",        "name": "string"      }    }  ],  "has_more": true,  "next_cursor": "string"}

Found something wrong? Help us improve this page.