Contact Fields

Create a custom contact field

Changed on

Creates a custom field for contacts. The name is auto-generated from the label as a slug.

Provide type (text, number, or date) or the existing contact_field_type_id UUID. If both are provided, they must identify the same type. UUIDs are the same for every account:

Typecontact_field_type_id
text0abe5601-7738-43c8-858f-81911ecf89ee
numbere43c6471-b3ff-4541-80c5-964c62decd15
datefe7dd76c-5113-4159-bc7c-0dbf0ed8d404

The value is immutable after creation and is not returned by any endpoint - responses carry the human-readable type (text, number, date) instead.

post/contact-fields

Request

  • Base URL
    https://api.sendfox.com
  • Auth
    OAuth 2
    Authorization codehttps://sendfox.com/oauth/authorize
    Token URLhttps://sendfox.com/oauth/token

Request body

OR

Example request

{
  "contact_field_type_id": "0abe5601-7738-43c8-858f-81911ecf89ee",
  "type": "text"
}

Response

Contact field created

idinteger
labelstring required

Human-readable field label

namestring

Machine-readable slug (auto-generated from label)

type'text' | 'number' | 'date'

Field type

Changes

    • info

      added the non-success response with the status

    • info

      added the new optional request property

    • info

      added subschema #1 subschema #2 to the request body anyOf list

    • info

      the request property became optional