v1

latestOpenAPI 3.0.02026-07-2447166133.5 KB
Contact Fields

Create an organization contact field

This operation creates an organization contact field for the given organization. This field will appear on all contacts in the interface. Requesting creation of an already existing field will result in a 201 response and the response will contain the existing field.

post/contacts/fields

Headers

s-idempotency-keystring

A unique value generated by the client used to recognize subsequent retries of the same request. Idempotency keys can be up to 255 characters long.

Request body

namestring required

A name for the field

Example request

{
  "name": "Preferred Pharmacy"
}

Response

created

idstring required

Spruce's contact organization contact custom field ID

namestring required

A name for the field

Example response

{
  "id": "managedCustomField_0E5QDGJC03000",
  "name": "Preferred Pharmacy"
}