Get one contact
get_contactFetch one contact: name, phone number and activity timestamps.
first_messaged_at is when a message from this number first reached
them on WhatsApp, and last_interaction_at is the last message that
passed in EITHER direction, so it moves when they write to you as well.
A message that failed before reaching WhatsApp moves neither.
refresh shows the last refresh_contact you asked for: when it was
requested, when it finished, and its outcome (updated, unchanged,
number_not_connected or unavailable). While completed_at is null
it is still running.
The id must belong to the inbox named by number_alias. An id from a
different number returns not found even though the person exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contact_id | Yes | Contact id (`ct_…`), from `list_contacts`. | |
| number_alias | No | Which of the organization's WhatsApp numbers this acts on: `main`, the alias of an extra number, or the number's `id` (`num_…`), which stays the same when the alias is renamed. Call `list_numbers` to see them. Defaults to the main number. | main |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||