Custom objects

Records of the objects your workspace defines for itself.

#List records of a custom object

GET/api/v1/objects/{slug}/records

Operation list_object_records · needs scope records:read

ParameterInTypeNotes
slug requiredpathstringThe custom object's slug, as shown in CRM settings.
limitqueryintegerPage size, at most 100.
cursorquerystringpagination.nextCursor from the previous page.
sortquery-updated_at | updated_at | -created_at | created_atSort order. A leading minus sorts descending.
updated_sincequerydatetimeOnly records updated at or after this instant.
qquerystringFree-text search over the object's main columns.
ownerquerystringOnly records whose owner equals this.
bash
curl https://synconone.com/api/v1/objects/string/records \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
json
{
  "data": [
    {
      "id": "pr_1a2b3c4d5e6f7a8b",
      "object": "string",
      "name": "Emily Carter",
      "owner": "string",
      "created_at": "2026-11-05T10:00:00Z",
      "updated_at": "2026-11-05T10:00:00Z"
    }
  ],
  "pagination": {
    "nextCursor": null,
    "hasMore": false
  }
}

Errors: 401: Missing, invalid, revoked or expired API key. · 403: The key lacks the scope, or its role cannot do this. · 422: Validation failed. · 429: Rate limited. Honour Retry-After.. See errors.

#Create a custom object record

POST/api/v1/objects/{slug}/records

Operation create_object_record · needs scope records:write

ParameterInTypeNotes
slug requiredpathstringThe custom object's slug, as shown in CRM settings.
Body fieldTypeNotes
namestringName
ownerstringOwner
bash
curl -X POST https://synconone.com/api/v1/objects/string/records \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Emily Carter","owner":"string"}'
json
{
  "data": {
    "id": "pr_1a2b3c4d5e6f7a8b",
    "object": "string",
    "name": "Emily Carter",
    "owner": "string",
    "created_at": "2026-11-05T10:00:00Z",
    "updated_at": "2026-11-05T10:00:00Z"
  }
}

Errors: 401: Missing, invalid, revoked or expired API key. · 403: The key lacks the scope, or its role cannot do this. · 409: Conflict, approval required, or idempotent request in progress. · 422: Validation failed. · 429: Rate limited. Honour Retry-After.. See errors.

#Get a custom object record

GET/api/v1/objects/{slug}/records/{id}

Operation get_object_record · needs scope records:read

ParameterInTypeNotes
slug requiredpathstringThe custom object's slug, as shown in CRM settings.
id requiredpathstringPublic id of the record.
bash
curl https://synconone.com/api/v1/objects/string/records/pr_1a2b3c4d5e6f7a8b \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
json
{
  "data": {
    "id": "pr_1a2b3c4d5e6f7a8b",
    "object": "string",
    "name": "Emily Carter",
    "owner": "string",
    "created_at": "2026-11-05T10:00:00Z",
    "updated_at": "2026-11-05T10:00:00Z"
  }
}

Errors: 401: Missing, invalid, revoked or expired API key. · 403: The key lacks the scope, or its role cannot do this. · 404: Not found, or not visible to this key. · 422: Validation failed. · 429: Rate limited. Honour Retry-After.. See errors.

#Update a custom object record

PATCH/api/v1/objects/{slug}/records/{id}

Operation update_object_record · needs scope records:write

ParameterInTypeNotes
slug requiredpathstringThe custom object's slug, as shown in CRM settings.
id requiredpathstringPublic id of the record.
Body fieldTypeNotes
namestringName
ownerstringOwner
bash
curl -X PATCH https://synconone.com/api/v1/objects/string/records/pr_1a2b3c4d5e6f7a8b \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Emily Carter","owner":"string"}'
json
{
  "data": {
    "id": "pr_1a2b3c4d5e6f7a8b",
    "object": "string",
    "name": "Emily Carter",
    "owner": "string",
    "created_at": "2026-11-05T10:00:00Z",
    "updated_at": "2026-11-05T10:00:00Z"
  }
}

Errors: 401: Missing, invalid, revoked or expired API key. · 403: The key lacks the scope, or its role cannot do this. · 404: Not found, or not visible to this key. · 409: Conflict, approval required, or idempotent request in progress. · 422: Validation failed. · 429: Rate limited. Honour Retry-After.. See errors.

#Archive a custom object record

DELETE/api/v1/objects/{slug}/records/{id}

Operation archive_object_record · needs scope records:write

ParameterInTypeNotes
slug requiredpathstringThe custom object's slug, as shown in CRM settings.
id requiredpathstringPublic id of the record.
bash
curl -X DELETE https://synconone.com/api/v1/objects/string/records/pr_1a2b3c4d5e6f7a8b \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
json
{
  "data": {
    "id": "pr_1a2b3c4d5e6f7a8b",
    "object": "string",
    "archived": true
  }
}

Errors: 401: Missing, invalid, revoked or expired API key. · 403: The key lacks the scope, or its role cannot do this. · 404: Not found, or not visible to this key. · 422: Validation failed. · 429: Rate limited. Honour Retry-After.. See errors.