Update the Contact Selected Users

From docs
Revision as of 11:46, 17 July 2026 by Ashley DeBon (talk | contribs) (Created page with "== Update Contact Selected Users == === Base URL === https://apimobile.callproof.com === Endpoint === /api/contacts/{id}/selected-users === Purpose === Updates the users (s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Update Contact Selected Users

Base URL

https://apimobile.callproof.com

Endpoint

/api/contacts/{id}/selected-users

Purpose

Updates the users (sales reps) assigned to a contact. The request supplies a list of user IDs to associate with the contact.

HTTP Method

PUT

Headers

Header Required Description
Authorization Yes Bearer access token

Security

  • Yes – Requires Bearer Token authentication.

Parameters

Path Parameters

Parameter Type Required Description
id integer Yes Unique identifier of the contact

Query Parameters

None.

Request Body

Parameter Type Required Description
user_id string (JSON array) No JSON array of user IDs to assign to the contact (for example, [12,34]). If omitted, an empty list is used

Successful Response (200)

Indicates that the contact’s assigned users were updated successfully.

Field Type Description
clientStatusCode integer Status indicator for the client (for example, 200)
user_id integer Identifier of the authenticated user
company_id integer Identifier of the authenticated user’s company
message string Confirmation message (for example, "Contact Users Updated Successfully")
uri string Requested resource URI

Error Responses

Status Code Meaning
400 Bad Request – the selected users could not be updated
401 Unauthorized – missing, invalid, or expired Bearer token
  • 400 – Contact not found ("Contact Not Found"), or another error while updating assigned users (for example, "Error While Updating Contact Selected Users").
  • 401 – Authentication failed or the access token is missing/expired.