Contacts

Declare a contact property

Declare a custom field. Declaring is optional: contacts may carry undeclared properties, and those keep working. Declaring gives the field a default used when a contact has no value, and opts writes to it into type checking.

post/v1/contact-properties

Request

  • Base URL: https://smtpfa.st/api
  • URL: https://smtpfa.st/api/v1/contact-properties
  • Auth: HTTP bearer

Request body

keystring required
type'string' | 'number' required

Example request

{
  "key": "plan"
}

Response

The declared property

Example response

{
  "contact_property": {
    "key": "plan"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.