v1.0.0
OpenAPI 3.1.0

Check a sync's folder now

US region

Client Libraries

Check a sync's folder now

​

Check the sync's folder for new files now, instead of waiting for the next scheduled check. If a check is already running, Customer.io doesn't start another. Customer.io responds right away, before the check finishes. Use look up a collection's sync to see the result.

Path Parameters
  • collection_id
    Type: integer
    required

    The identifier for a collection.

Responses
  • 202

    Customer.io started the check.

  • 400

    Your plan doesn't include collections.

  • 404

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

  • application/json
Request Example for post/v1/collections/{collection_id}/sync/poll
curl https://api.customer.io/v1/collections/1/sync/poll \
  --request POST \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No Body