v1.0.0
OpenAPI 3.1.0

List rejected sync rows

US region

Client Libraries

List rejected sync rows

​

Returns the rows from synced files that Customer.io couldn't load, sorted by file and then by row. Customer.io keeps rejected rows for 90 days.

Path Parameters
  • collection_id
    Type: integer
    required

    The identifier for a collection.

Query Parameters
  • limit
    Type: integer
    min:  
    1
    max:  
    1000

    The number of rejected rows to return in a page.

  • cursor
    Type: string

    The next_cursor from the previous page. Leave it out to get the first page.

Responses
  • application/json
  • 404

    The collection doesn't exist or doesn't have a sync.

  • application/json
Request Example for get/v1/collections/{collection_id}/sync/rejects
curl https://api.customer.io/v1/collections/1/sync/rejects \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "next_cursor": "string",
  "rejects": [
    {
      "code": "duplicate-key",
      "created_at": "2026-11-02T15:31:31Z",
      "file": "daily/2026-11-02.csv",
      "file_version": "1793630000123456",
      "key": "A-100",
      "row": 17
    }
  ]
}