Docs Rizler

Setup Contact Fields

Save Contact Field Defaults

POSThttps://app.rizzdial.com/api/contacts/fields/defaults
Save Contact Field Defaults
curl --request POST \
  --url https://app.rizzdial.com/api/contacts/fields/defaults \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "defaults": {
    "first_name": "Dev",
    "phone_number": ""
  }
}'
{
  "data": [
    {
      "key": "first_name",
      "label": "First Name",
      "placeholder": "{{contact.first_name}}",
      "default_value": "Dev"
    }
  ],
  "message": "Default values saved.",
  "success": true
}

Save Contact Field Defaults#

Saves the Custom Default Values on Manage → Setup Contact Fields. These are company-level fallbacks. They do not change existing contact records. An empty string clears that field's default. Unknown keys are ignored.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

Content-Typestringheaderrequired

Must be set to application/json

defaultsobjectbodyrequired

Map of field key to default value. Example: { "first_name": "Dev", "phone_number": "" }

curl --location 'https://app.rizzdial.com/api/contacts/fields/defaults' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer {{bearer_token}}' \
  --data '{
    "defaults": {
      "first_name": "Dev",
      "phone_number": ""
    }
  }'
successboolean

true when the defaults were saved

messagestring

Default values saved.

dataarray

The same field list returned by List Contact Fields, including the new default_value for each key