Skip to main content
PUT
Error

Authorizations

X-API-Key
string
header
required

API key authentication

Path Parameters

contactStructureId
string
required

Body

application/json
keyName
string
required

Key name

label
string
required

Label

__v
number
fields
object[]
keyType
string

Key data type

tags
object[]

Response

The updated contact structure

__v
integer

Version of the record. Send it back unchanged on an update so a stale write is rejected instead of overwriting a newer one.

_id
string<mongo-id>

Id of the contact structure

accountId
string<mongo-id>

Id of the account

createdAt
string<date-time>
createdBy
string<mongo-id>

Id of the user who created the structure

default
boolean

Whether this is the account's default structure

fields
object[]
keyName
string

Display name of the key field

keyType
enum<string>
Available options:
text,
number,
date,
recurring_date,
email
label
string

Display name of the structure

modifiedBy
string<mongo-id>

Id of the user who last changed the structure

tags
object[]
updatedAt
string<date-time>