GET
/
v1
/
records
/
{collection_id}
/
{upstream_id}
curl --request GET \
  --url https://api.sequin.io/v1/records/{collection_id}/{upstream_id} \
  --header 'Authorization: Bearer <token>'
  {
    "sync_id": "70a313f8-7c94-43d4-8d0c-5659a52de5c4",
    "collection_id" : "salesforce:task",
    "upstream_id": "0018b000021BldZAAS",
    "upstream_updated_at": "2024-11-10T18:39:00.070453Z",
    "data": {
      "activity_date": "2023-09-12",
      "description" : "task description [ … ] ",
      // …
    },
    "deleted": false,
    "created_at": "2024-11-10T18:39:00.070453Z"
  }

Request parameters

collection
string

The collection the record belongs to (e.g. Stripe’s stripe:subscription or Salesforce’s salesforce:contact).

upstream_id
string

The upstream_id of the record.

Response fields

The response is a record object with the following fields:

sync_id
string

ID of the sync this record belongs to.

collection_id
string

ID of the collection this record belongs to (e.g. Stripe’s stripe:subscription or Salesforce’s salesforce:contact).

upstream_id
string

The ID of the record in the API.

upstream_updated_at
datetime

The time the record was last updated in the API, in ISO 8601 format.

data
object

All the fields of the API object.

deleted
boolean

Whether the record has been deleted in the API.

created_at
datetime

The time the record was first inserted into the record stream, in ISO 8601 format.

The response is ordered by upstream_updated_at in ascending order (oldest first).

Was this page helpful?