Mail API reference

Mail API · Integrations

get/v1/workspaces/{workspace_id}/integrationsAuth

List connected workspace integrations.

Returns one entry per connected provider (GitHub, …). No secrets in the response — only public identifiers + status + sync stamps.

Path parameters

workspace_id*string · uuid

Id of the workspace.

Response · 200

data*array

The connected integrations.

Example

Request

GET https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/integrations
Authorization: Bearer YOUR_TOKEN

Response

{
  "data": [
    {
      "provider": "github",
      "display_name": "GitHub",
      "account_login": "octocat",
      "account_avatar_url": "https://avatars.githubusercontent.com/u/1?v=4",
      "status": "active",
      "last_error": "string",
      "last_synced_at": "2026-01-01T00:00:00.000Z",
      "settings": {},
      "updated_at": "2026-01-01T00:00:00.000Z"
    }
  ]
}