Skip to main content
POST
/
records
Create a record
curl --request POST \
  --url https://http.us.breakcold.com/api/v1/records \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspaceId": "workspace_id",
  "objectTypeSlug": "person",
  "fields": {
    "name": "Ada Lovelace",
    "email": "ada@example.com"
  }
}
'
{
  "record": {
    "id": "<string>",
    "workspaceId": "<string>",
    "objectTypeId": "<string>",
    "isArchived": true,
    "createdAt": 123,
    "updatedAt": 123,
    "objectTypeSlug": "<string>",
    "displayName": "<string>",
    "fields": {},
    "archivedAt": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.breakcold.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Breakcold public API key, for example Bearer bc_live_....

Headers

X-Breakcold-Organization-Id
string

Breakcold organization ID. API keys already carry their organization, so most API-key requests do not need this header. Use it only when Breakcold asks you to choose an organization for a signed-in user token.

Body

application/json
workspaceId
string
required
Minimum string length: 6
objectTypeId
string
Minimum string length: 6
objectTypeSlug
string
fields
object

Map of field slug to value. Values follow the field type: strings for text/social fields, numbers for numeric/date fields, booleans for checkbox, { amount, currencyCode } for currency, { optionId } for select, arrays for multi-value fields.

Response

Success

record
object
required