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.

Permission Scopes

For app development, you must have one of the following permission scopes:
Read Contacts
Read Members and Contacts - all read permissions
Manage Contacts
Manage Members and Contacts - all permissions
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
_idstringRequired

ID of the contact to retrieve.


optionsGetContactOptions

Get contact options.

Returns
Return Type:Promise<Contact>
Was this helpful?
Yes
No