انتقل إلى المحتوى الرئيسي

Update a contact

PATCH 

/v1/agents/:agentId/contacts/:contactId

x-scope: "contacts:write"

Changes the fields you send. Email and the platform ids are how Mojeeb recognises the person, so they are read-only. A mobile another contact of the agent already has is accepted: a number can be on more than one contact, and a WhatsApp message from it goes to the newest of them.

Request​

Responses​

The contact as it now is.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.