Docs
Workspaces

List connected workspaces

List connected provider workspaces (Google / Microsoft tenants)

GET
/v2/workspaces/{workspaceId}/provider-workspaces

Path Parameters

workspaceIdnumber

Response Body

curl -X GET "https://lynx-api.trulyinbox.com/v2/workspaces/0/provider-workspaces"
{
  "data": [
    {
      "id": 0,
      "provider": "google",
      "adminEmail": "string",
      "tenantId": {},
      "status": "active",
      "lastSyncedAt": "2019-08-24T14:15:22Z",
      "domains": [
        {
          "domain": "string",
          "mailboxCount": 0
        }
      ],
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ],
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}