GET
/
v1
/
custom_collections
/
{credential_id}
/
{id}
curl --request GET \
  --url https://api.sequin.io/v1/custom_collections/{credential_id}/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "1ce25022-afd8-4320-8482-73ce7b3563ef",
  "name": "Tasks",
  "upstream_id": "tblXvZBJMX5ShyD4z",
  "fields": [
    {
      "accessor": "id",
      "id": "bdd2c7ca-e6e7-44c8-bdb7-c21f74b0be78",
      "metadata": {
          "airtable_type": "singleLineText"
      },
      "name": "id",
      "primary_key": true,
      "type": "text",
      "upstream_id": "id"
    },
    {
      "accessor": "fields.Name",
      "id": "1f6885c1-e61a-4185-a6ef-b2e643b8be59",
      "metadata": {
          "airtable_type": "singleLineText"
      },
      "name": "Name",
      "primary_key": false,
      "type": "text",
      "upstream_id": "fldHmdXXEMaJlDMdB"
    },
    {
      "accessor": "createdTime",
      "id": "0d02467c-8935-43d4-95ba-1ec810b6b5c2",
      "metadata": {
          "airtable_type": "createdTime"
      },
      "name": "createdTime",
      "primary_key": false,
      "type": "datetime",
      "upstream_id": "createdTime"
    },
    ...
  ]
}

Request parameters

credential_id
string
required

ID of the credential.

id
string
required

ID of the custom collection.

Response fields

id
string

ID of the collection.

upstream_id
string

ID of the collection as defined by the provider.

name
string

Name of the collection.

links
array

Links to documentation for the collection.

Coming soon
fields
array

Fields for the collection.