Purpose
Update a single contact’s phone number (and optionally display name) within a specific contact list/tag.
Endpoint: POST /partners/broadcast/editSingleContact
Authentication
This endpoint typically requires an access token.
Use the existing variable:
Add it in your request auth/header as used by your API (commonly as a Bearer token):
If your backend expects the token in a different header/cookie, keep using the same convention used across this collection.
Required Headers
Request Body (JSON)
Send a JSON payload with the following fields:
*If your API enforces name, treat as required.
Notes / Tips
- Use consistent phone number format (country code, leading zeros, etc.) per your system rules.
- If
old_numberdoesn’t match an existing contact within the giventag, the API may return an error or a “not found” style response.
Example Request
Example Responses
Actual response shape can vary by deployment/version. Use the saved examples on this request as the source of truth.
Success (200)
Common patterns include a success flag/message and/or updated contact info.
Validation Error (400)
Returned when required fields are missing/invalid.
Unauthorized (401)
Returned when token is missing/invalid/expired.
Not Found / Mismatch (404)
Returned when the contact or tag cannot be found, or old_number does not match any contact in the list.
Conflict / Duplicate (409)
Returned when the new number already exists in the same tag/list (depending on backend rules).
