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​
Header | Value |
---|---|
Authorization | Bearer YOUR_ACCESS_TOKEN |
Path Parameters​
Parameter | Required | Type | Description |
---|---|---|---|
integrationAccountId | Yes | string | The unique identifier for the integration account. |
Sync Status​
Status | Description |
---|---|
PENDING | The sync operation is pending. |
RUNNING | The sync operation is running. |
SUCCEEDED | The sync operation has succeeded. |
FAILED | The 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
}