WhatsApp API: Adding a Contact and Sending a vCard Are Two Distinct Operations
WhatsApp's developer API separates two commonly confused actions: adding a contact to an account's address book and sending a contact card within a conversation. The add-contact operation uses a dedicated endpoint that mutates account state, while sending a vCard uses the messages endpoint with a contact message type. These operations return different results and must be handled with independent retry logic. Using the wrong operation can lead to broken workflows or duplicate actions in applications. Developers needing both outcomes, such as saving a customer and sharing a representative's details, must call each endpoint separately.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in