Add a contact property
Add a key to every contact book of the team, with its type and an optional fallback.
On this page
POST
https://app.usenotix.dev/api/v1/contact-propertiesNeeds a full access key. Sending access keys cannot call this. Key permissions lists the extra rules some calls have.
Add a key to every contact book of the team, with its type and an optional fallback. A NUMBER property needs a number fallback. A team with no contact book gets one called Contacts. Needs a full access key.
Body parameters
keystringrequired
typestring
One of TEXT, NUMBER. Default "TEXT".
fallbackstring
At most 500 characters. Default null. Can be null.
Headers
Authorizationstringrequired
Bearer followed by your API key.
Errors
400
A reserved key, or a number property with a fallback that is not a number.
Every error has the same shape. See all error codes.
curl -X POST "https://app.usenotix.dev/api/v1/contact-properties" \
-H "Authorization: Bearer $NOTIX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"key": "string"
}'
Response200
{
"key": "string",
"books": 1
}