cURL
curl --request PUT \ --url https://api-message.nativehub.live/api/v1/contacts/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Alice Johnson", "email": "[email protected]", "tags": { "segment": "vip" } } '
{ "id": "c9d0e1f2-a3b4-5678-cd90-123456789012", "tenant_id": "c3d4e5f6-a7b8-9012-cdef-123456789012", "name": "Alice Johnson", "phone": "+8801712345678", "email": "[email protected]", "tags": { "segment": "premium", "region": "dhaka" }, "created_at": "2026-02-01T09:00:00Z", "updated_at": "2026-02-10T11:30:00Z" }
Update an existing contact
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Contact ID
Contact updated successfully