Conversation

Resolve the phone number for a BSUID-only WhatsApp conversation

Records the consultant-verified phone number for a WhatsApp conversation whose sender hid their phone (a BSUID). Upserts the BSUID->phone mapping, audits it, and publishes the event that triggers the background resolution (which sets the phone on the conversation). The BSUID is derived server-side from the conversation; only the phone_number is accepted in the body. Returns the upserted BSUID->phone mapping.

put/chat/conversations/{conversation_id}/whatsapp-phone-number-resolution

Request

  • Base URL
    http://localhost:3010/v1
  • URL
    http://localhost:3010/v1/chat/conversations/{conversation_id}/whatsapp-phone-number-resolution
  • Auth
    HTTP basic

Headers

Authorizationstring string required

OAuth Bearer token

Contextstring string required

The executing context

Accept'application/json' required

Advertises which content types the client understands

X-Accept-Timezonestring

The timezone the content will be displayed in

Request body

phone_numberstring required

Response

The upserted BSUID to phone-number mapping will be returned

_idstring required
updated_atstring date-time required
created_atstring date-time required
__vinteger required
bsuidstring required
phone_numberstring required
source_context_idstring required
source_conversation_idstring required

Changes

No recorded changes to this operation across all 3 revisions of this API.