The contacts API lets you query the contacts visible to a session, look up profile information, verify which phone numbers are registered on WhatsApp, and manage your block list. All contact endpoints are scoped to a session — contact data reflects what that WhatsApp account can see.Documentation Index
Fetch the complete documentation index at: https://docs.usetitan.app/llms.txt
Use this file to discover all available pages before exploring further.
Contact object
Phone number in E.164 format (e.g.
+5511999999999).Display name set by the contact on their WhatsApp account.
Saved contact name in the session account’s address book.
Business name for WhatsApp Business accounts.
Linked Device ID of the contact.
URL of the contact’s profile picture.
List contacts
GET /api/sessions/{session}/contacts
Returns all contacts visible to the session.
Session name.
Get a contact
GET /api/sessions/{session}/contacts/{contactId}
Returns profile information for a specific contact.
Session name.
Contact JID (URL-encoded), e.g.
5511999999999%40s.whatsapp.net.Get a contact’s profile picture
GET /api/sessions/{session}/contacts/{contactId}/picture
Returns the profile picture URL for a contact. Returns 404 if the contact has no profile picture or has restricted visibility.
Session name.
Contact JID (URL-encoded).
Check if phone numbers are on WhatsApp
POST /api/sessions/{session}/contacts/check
Checks whether one or more phone numbers are registered on WhatsApp. Useful for validating numbers before sending messages.
Session name.
Array of phone numbers to check in E.164 format (e.g.
+5511999999999).The normalized phone number that was checked.
Whether the number is registered on WhatsApp.
Linked Device ID. Present when
exists is true.Block a contact
POST /api/sessions/{session}/contacts/{contactId}/block
Blocks a contact. Blocked contacts cannot send messages to the session account.
Session name.
Contact JID (URL-encoded).
Unblock a contact
DELETE /api/sessions/{session}/contacts/{contactId}/block
Unblocks a previously blocked contact.
Session name.
Contact JID (URL-encoded).