Record types

List object attributes

GET
https://api.searchsoftware.nl/v4/records/{plural_slug}/attributes

Lists one record type's attributes, including options, the filter operators each accepts, and whether it can be sorted, filtered, created or updated. Requires <plural_slug>:read; records:read also covers custom types.

sensitive marks contact and personal details. updatable lists what PATCH /v4/records/{plural_slug}/{id} accepts; a person's email, phone and address have their own routes. Assignee and types have their own routes too.

Parameters

plural_slugstringrequiredpath

Plural slug from GET /v4/records, such as people.

Response

Attributes

Response fields application/json
statusstringokrequired
Example
ok
Show child attributes
fieldstringrequired
Example
name
labelstringrequired
Example
Name
kindstringrequired
Example
string
multivaluebooleanrequired
Example
false
filterablebooleanrequired
Example
true
sortablebooleanrequired
Example
true
creatablebooleanrequired
Example
true
updatablebooleanrequired
Example
true
sensitivebooleanrequired
Example
false
filter_opsArray<string>required
reference_typestring | nullrequired
Example
user

Allowed values, or null when the attribute has no fixed list.

Show child attributes
valuestringrequired
Example
custom_field_option:Xy3
labelstringrequired
Example
Senior
groupablebooleanrequired

Whether the count route's group_by accepts this attribute (impl-spec-1875).

Example
false
401UnauthorizedErrorResponse

Invalid credential

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "INVALID_API_KEY",
    "status_code": 401,
    "message": "Invalid API key"
  }
}
403ForbiddenErrorResponse

Missing required scope

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "FORBIDDEN",
    "status_code": 403,
    "message": "Insufficient scope"
  }
}
404Not FoundErrorResponse

Unknown record type

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "NOT_FOUND",
    "status_code": 404,
    "message": "Record not found"
  }
}

Authorization

bearer_authhttp (bearer) in header

API key or OAuth access token in Authorization header

Scopes: <plural_slug>:read

oauth2_authoauth2

OAuth authorization code flow with mandatory S256 PKCE.

Scopes: <plural_slug>:read

apikey_authapiKey in query

API key in query string

Scopes: <plural_slug>:read