Update Contact
Update an existing contact's details in the system. Use this endpoint to modify fields such as email and company name for a specific contact.
HTTP Method and URL
PUT {{host}}/api/v2/network/:contactId?user_type=ENTERPRISE_API
Authentication Requirements
Requires a valid user-token to be provided as an environment or global variable.
Path Parameters
contactId(string, required): The unique identifier of the contact to update.
Query Parameters
user_type(string, required): Must be set toENTERPRISE_API.
Request Body
Content-Type: application/json
{
"email": "[email protected]",
"company": "company"
}
-
email(string, required): The new email address for the contact. -
company(string, required): The new company name for the contact.
Example Request
PUT {{host}}/api/v2/network/12345?user_type=ENTERPRISE_API
Authorization: Bearer {USER-TOKEN}
Content-Type: application/json
{
"email": "[email protected]",
"company": "company"
}
Example Successful Response
{
"success": true,
"message": "Contact updated successfully."
}
Error Responses
-
400 Bad Request: Invalid input data or missing required fields. -
401 Unauthorized: Authentication failed or missing token. -
404 Not Found: Contact with the specified ID does not exist. -
500 Internal Server Error: Unexpected server error.
Usage Notes
-
Ensure the
contactIdprovided exists in the system. -
Only fields included in the request body will be updated.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
