Contacts API
PUT/api/v1/contacts/{id}
Product availabilityAlgaPSAAlgaDesk

Update contact

Inherited ApiBaseController update route for one contact_name_id.

RBAC · contact

Path parameters

idstring <uuid>Required

Request body

Content type: application/json · schema ContactUpdateBody

full_namestring
client_idstring <uuid>
manager_contact_idstring <uuid>Nullable
phone_numbersarray of object
default []
itemsobject
Each row needs canonical_type (work|mobile|home|fax|other) or custom_type, not both. When any rows are sent, exactly one must have is_default: true. On update, the array replaces all of the contact's phone numbers; include contact_phone_number_id to keep an existing row.
contact_phone_number_idstring <uuid>
Include to keep an existing row on update; omit for a new row.
phone_numberstringRequired
extensionstring
Digits only.
canonical_typestringNullable
Enum: workmobilehomefaxothernull
custom_typestringNullable
min length 1
is_defaultboolean
display_orderinteger
≥ 0
normalized_phone_numberstring
Read-only; ignored on write.
custom_phone_type_idstring <uuid>Nullable
Read-only; ignored on write.
created_atanyOf
Read-only; ignored on write.
anyOf (option 1)string
anyOf (option 2)string
anyOf (option 3)null
updated_atanyOf
Read-only; ignored on write.
anyOf (option 1)string
anyOf (option 2)string
anyOf (option 3)null
emailstring
primary_email_canonical_typestringNullable
Enum: workpersonalbillingothernull
primary_email_custom_typestringNullable
min length 1
primary_email_custom_type_idstring <uuid>Nullable
additional_email_addressesarray of object
default []
itemsobject
Each row needs canonical_type (work|personal|billing|other) or custom_type, not both. On update, the array replaces all of the contact's additional email addresses; include contact_additional_email_address_id to keep an existing row.
contact_additional_email_address_idstring <uuid>
Include to keep an existing row on update; omit for a new row.
email_addressstringRequired
Must be a valid email address.
canonical_typestringNullable
Enum: workpersonalbillingothernull
custom_typestringNullable
min length 1
display_orderinteger
≥ 0
normalized_email_addressstring
Read-only; ignored on write.
custom_email_type_idstring <uuid>Nullable
Read-only; ignored on write.
created_atanyOf
Read-only; ignored on write.
anyOf (option 1)string
anyOf (option 2)string
anyOf (option 3)null
updated_atanyOf
Read-only; ignored on write.
anyOf (option 1)string
anyOf (option 2)string
anyOf (option 3)null
rolestring
max length 100
notesstring
is_inactiveboolean
default false
tagsarray of string
itemsstring

Response body

Success response 200 · schema ClientContactEnvelope

dataobjectRequired
contact_name_idstring <uuid>Required
full_namestringRequired
client_idstring <uuid>RequiredNullable
emailstring <email>Required
rolestringRequiredNullable
created_atstring <date-time>Required
updated_atstring <date-time>Required
is_inactivebooleanRequired
tenantstring <uuid>Required
phone_numbersarray of object
itemsobject
contact_phone_number_idstring <uuid>Required
phone_numberstringRequired
normalized_phone_numberstringRequired
canonical_typestringNullable
custom_phone_type_idstring <uuid>Nullable
custom_typestringRequiredNullable
is_defaultbooleanRequired
display_orderintegerRequired
≥ 0
additional_email_addressesarray of object
itemsobject
contact_additional_email_address_idstring <uuid>Required
email_addressstring <email>Required
normalized_email_addressstring <email>Required
canonical_typestringNullable
custom_email_type_idstring <uuid>Nullable
custom_typestringRequiredNullable
display_orderintegerRequired
≥ 0
default_phone_numberstringNullable
default_phone_typestringNullable
primary_email_canonical_typestringNullable
primary_email_custom_type_idstring <uuid>Nullable
primary_email_typestringNullable
notesstringNullable
avatarUrlstringNullable
tagsarray of string
itemsstring
client_namestringNullable
metaobject

Response codes

200
Contact updated.
400
Invalid contact id or request payload.
401
API key missing/invalid or key user not found.
403
Permission denied for contact update.
404
Contact not found.
500
Unexpected contact update failure.