Retrieves a contact.
The getContact()
function returns a Promise
that resolves when the contact is found.
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.
This function requires elevated permissions and runs only on the backend and on dashboard pages.
ID of the contact to retrieve.
Get contact options.