Skip to main content
GET
/
api
/
zoho
/
integrations
/
{id}
/
import
/
history
Get Zoho import history
curl --request GET \
  --url https://api.g-tateth.com/api/zoho/integrations/{id}/import/history \
  --header 'Authorization: <api-key>'
{
  "success": true,
  "data": [
    {
      "_id": "<string>",
      "tenantId": "<string>",
      "integrationId": "<string>",
      "importType": "contacts",
      "status": "pending",
      "progress": {
        "total": 123,
        "processed": 123,
        "successful": 123,
        "failed": 123,
        "skipped": 123
      },
      "results": {
        "customersCreated": 123,
        "customersUpdated": 123,
        "conversationsCreated": 123,
        "conversationsUpdated": 123,
        "messagesCreated": 123,
        "errors": [
          {
            "recordId": "<string>",
            "error": "<string>",
            "timestamp": "2023-11-07T05:31:56Z"
          }
        ]
      },
      "startedAt": "2023-11-07T05:31:56Z",
      "completedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "page": 123,
    "limit": 123,
    "total": 123,
    "totalPages": 123
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer sk_live_... or Bearer sk_test_...

Path Parameters

id
string
required

Integration ID (obtained from GET /api/zoho/integrations after OAuth connection)

Query Parameters

page
integer
default:1

Page number

limit
integer
default:10

Items per page

Response

Import history retrieved successfully

success
boolean
Example:

true

data
object[]
pagination
object