Skip to main content

Get Integration Account Sync

Retrieves the sync status of a specific integration account by ID within a workspace.

HTTP Request​

GET https://dev.calry.app/api/v1/sync/{integrationAccountId}/status

Headers​

HeaderValue
AuthorizationBearer YOUR_ACCESS_TOKEN

Path Parameters​

ParameterRequiredTypeDescription
integrationAccountIdYesstringThe unique identifier for the integration account.

Sync Status​

StatusDescription
PENDINGThe sync operation is pending.
RUNNINGThe sync operation is running.
SUCCEEDEDThe sync operation has succeeded.
FAILEDThe sync operation has failed.

Example Request​

curl --location 'https://dev.calry.app/api/v1/sync/7568845d-a30a-448f-b7c9-eb728593ac33/status' \
--header 'Authorization: Bearer eyJraWQiOiJzLTg3NmRmNzQ3LTdiNzYtNGRiZi1hN2MyLTY1NWIxMTMzNWYzNiIsInR5cCI6IkpXVCIsImFsZyI6IlJTMjU2In0.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjMwMDAvYXV0aCIsInVzZXJJZCI6IjZlNmVkNmM5LTQxMjMtNDIyZi05ODZlLTgzMWFkODZjNzlkYSIsIndvcmtzcGFjZUlkIjoiMTM3Yzc1NDItYTJmNC00MWI3LWI3MWYtMDVjMGU5ZDNjODE5IiwibmFtZSI6ImFzZGFzZCIsInNvdXJjZSI6Im1pY3Jvc2VydmljZSIsImlhdsaCI6MTcxNjU3Nzc5OCwiZXhwIjoxNzI4Njk5MDEwfQ.fn_dmhBlDwu8gDvwlPYUmZC3ZbKPTxpwBw0nDkaXBwBMOoF1JxJIHNJ-rMsXrX-NdTq3yaK-rC7c_MZlW_n_dZlsv2zLrDTknBM_HOUyMheyv_r7e6judhv7DsuC6adB8Pn7rNqpGVLbFH7yA8ktxpBFvLKNAi6ncIE27qH3mcVcrCIsS3fjsS3zK3SLhhuBdTnFaVZf3LFR3XbUVQdQz2JX-YsWgy6O2TJQdnDCdWyIhkeignxK3sxNb_2CxcT_yri9Vqx3gM_GgNuesV0hX1QTHYrxcpkd8uQVTnhBtUmYKfXAipT0Hw0hVifeJj209R9bCuXj0yQVNCFR5zP4HQ'

Response​

The response is a JSON object containing the following properties:

  • status (string): The status of the sync operation.
  • createdAt (string): Timestamp of when the sync operation was created.
  • updatedAt (string): Timestamp of when the sync operation was last updated.
  • integrationAccountId (string): A unique identifier for the Integration Account.
  • failedMessage (string|null): The message if the sync operation failed.

Example Response​

{
"status": "SUCCEEDED",
"createdAt": "2024-05-27T01:11:30.327Z",
"updatedAt": "2024-05-27T00:00:00.000Z",
"integrationAccountId": "7568845d-a30a-448f-b7c9-eb728593ac33",
"failedMessage": null
}