Docs
Workspaces

Get workspace sync status

Poll the status of a bulk mailbox import

GET
/v2/workspaces/{workspaceId}/provider-workspaces/{providerWorkspaceId}/sync-status

Path Parameters

providerWorkspaceIdnumber
workspaceIdnumber

Query Parameters

jobIdstring

Response Body

curl -X GET "https://lynx-api.trulyinbox.com/v2/workspaces/0/provider-workspaces/0/sync-status?jobId=string"
{
  "data": {
    "jobId": "string",
    "status": "pending",
    "total": 0,
    "processed": 0,
    "succeeded": 0,
    "failed": 0,
    "failures": [
      {
        "email": "string",
        "error": "string"
      }
    ],
    "items": [
      "string"
    ]
  },
  "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"
  }
}