Use this API call to update the user assignment of records within your Shape instance
To assign a user to a lead, send an authorized POST request to https://secure-api.setshape.com/api/assign/lead/owner
Update the assigned user of a lead with these parameters:
Parameter — Lead ID is the record identifier required for finding the lead in database
User ID is the user’s identifier required to assign a user to the lead. Find user ID numbers in the "Manage Users" settings page, or use the "Get Users" API call.
The authentication token must be passed in the request header for every API request. You can find and generate your authentication token in your system settings page under “API Integrations.”
Find your authorization code in the API Integrations page in your system settings: https://secure.setshape.com/integrations
JSON request body formatting example:
{
"lead_id": 454688,
"lead_owner_id": 33
}
Upon success, the server returns HTTP codes and messages in the header with some additional elements and properties that are set by the server, such as id.
{
"msg": "This record has been assigned successfully!",
"status": 1
}
Changing templates will take time and may require a template change fee.
Not sure what to choose? Contact us.