Skip to main content
PUT
https://api.getmalakai.com/api/
/
api
/
contacts
/
{id}
{
  "contact_name": "John A. Doe",
  "tags": [
    "tag1",
    "updated_tag"
  ]
}
{
    "responseCode":2000,
    "message":"Contact updated successfully",
    "data":{}
}

Headers

Authorization
string
required
Your API key for authentication. Prefix with Bearer .
x-access-token
string
required
Your access token for authentication.

Path Parameters

id
string
required
The unique identifier of the contact you want to update.

Body

contact_name
string
The new name for the contact.
contact_email
string
The new email address for the contact.
contact_number
string[]
A new array of phone numbers. This will replace the existing array.
tags
string[]
A new array of tags. This will replace the existing array.
{
  "contact_name": "John A. Doe",
  "tags": [
    "tag1",
    "updated_tag"
  ]
}

Response

Returns the status.
{
    "responseCode":2000,
    "message":"Contact updated successfully",
    "data":{}
}