Skip to main content

Endpoint

POST https://app.sling.com.ng/api/v1/update-contact/{contactid}

Headers

HeaderValue
Acceptapplication/json
AuthorizationBearer {API_TOKEN}
Content-Typeapplication/json

Path parameters

contactid
string
required
Contact ID.

Body parameters

name
string
Updated contact name.
phone
string
Updated contact phone number.
email
string
Updated contact email address.
group_id
string
Group ID or group identifier to assign the contact to. Leave empty or use 0 for standalone.
identifier
string
Optional identifier for the contact.
description
string
Description for the contact.

Response

Success Response

Contacts endpoints return status: "success" when the operation completes.
{
  "status": "success"
}