Skip to content

Docs

check_channel_health

Queue a health check for a connected account: heyeveryone refreshes its token if it is about to expire, asks the platform whether the connection still works, and updates the account's status (for example to reconnect_required). It runs in the background within a minute; read the result with list_channel_accounts. Every account is also checked daily. A check already queued for the account is not queued twice (queued: false).

Queue a health check for a connected account: heyeveryone refreshes its token if it is about to expire, asks the platform whether the connection still works, and updates the account's status (for example to reconnect_required). It runs in the background within a minute; read the result with list_channel_accounts. Every account is also checked daily. A check already queued for the account is not queued twice (queued: false).

Access and cost

  • Kind: mutation
  • Scope: workspace
  • Actors: member, agent
  • Credits: Free
  • Requires confirmation: false
  • Accepts idempotency key: false

Input schema

{
  "properties": {
    "workspaceId": {
      "format": "uuid",
      "type": "string"
    },
    "channelAccountId": {
      "format": "uuid",
      "type": "string"
    }
  },
  "required": [
    "workspaceId",
    "channelAccountId"
  ],
  "type": "object"
}

Output schema

{
  "additionalProperties": false,
  "properties": {
    "queued": {
      "type": "boolean"
    },
    "jobId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "queued",
    "jobId"
  ],
  "type": "object"
}

Errors

[
  "disconnected"
]

Annotations

{
  "destructiveHint": false,
  "idempotentHint": false,
  "openWorldHint": true,
  "readOnlyHint": false,
  "title": "Check a channel account's connection"
}