Raw schema
{
"type": "object",
"properties": {
"contact_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Revamp CRM contact id to update."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Full name of the contact (or of the organization)."
},
"title": {
"description": "Job title.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"organization": {
"description": "Company name.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"primary_email": {
"type": "string",
"maxLength": 254,
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"secondary_email": {
"type": "string",
"maxLength": 254,
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"primary_phone": {
"type": "string",
"minLength": 1,
"maxLength": 40
},
"secondary_phone": {
"type": "string",
"minLength": 1,
"maxLength": 40
},
"website": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"address_line1": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"address_line2": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"city": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"state": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"postal_code": {
"type": "string",
"minLength": 1,
"maxLength": 30
},
"country": {
"description": "Country as Revamp CRM stores it (code or name; see an existing contact).",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"description": {
"description": "About / description text.",
"type": "string",
"minLength": 1,
"maxLength": 5000
},
"tags": {
"description": "Tags, comma separated. On an update this REPLACES the contact's tags.",
"type": "string",
"minLength": 1,
"maxLength": 500
},
"gender": {
"type": "string",
"minLength": 1,
"maxLength": 20
},
"contact_stage": {
"description": "A contact stage name (see revampcrm_list_contact_stages).",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"contact_source": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"contact_type": {
"description": "Contact type as Revamp CRM names it (see an existing contact).",
"type": "string",
"minLength": 1,
"maxLength": 50
},
"assigned_user_id": {
"description": "Id of the Revamp CRM user who owns the contact (revampcrm_get_current_user returns your own).",
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$"
},
"subscribed": {
"description": "Marketing email subscription state.",
"type": "string",
"enum": [
"UNSUBSCRIBED",
"MARKETING_OFF",
"MARKETING_ON"
]
},
"custom_fields": {
"description": "Custom fields by Revamp property name, e.g. {\"CustomField1\": \"Gold\", \"CustomField101\": 42}. revampcrm_list_custom_fields explains what each one means.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 1000
},
{
"type": "number"
}
]
}
}
},
"required": [
"contact_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}