getContact( )


Retrieves a contact.

The getContact() function returns a Promise that resolves when the contact is found.

Getting Merged Contacts

When a source contact is merged into a target contact, the source contact is deleted. When calling getContact() for a merged contact, you can use the source or target contact ID. In both cases, the target contact is returned.

This is supported only when calling getContact()on merged contacts. Previously deleted source contact IDs can't be passed to any other function.

Authentication

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

Permissions
Read Contacts
Read Members and Contacts - all read permissions
Manage Contacts
Manage Members and Contacts - all permissions
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>
Did this help?