getContact( )


Retrieves a contact.

Getting Merged Contacts

When a source contact is merged with a target contact, the source contact is deleted. When calling Get Contact for a merged contact, you can use the source or target contact ID. In both bases, the target contact is returned.

This is supported only when calling Get Contact on merged contacts. Previously deleted source contact IDs can't be used for any other method.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Read Contacts
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
_idstringRequired

ID of the contact to retrieve.


optionsGetContactOptions

Get contact options.

Returns
Return Type:Promise<Contact>
Errors
404Not Found

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?