get https://api.dmchamp.com/v1/contacts/lists
This API endpoint allows you to add an existing contact to one of your contact lists.
Authentication:
This endpoint requires an API key for authentication. You need to include the API key in your request.
Request:
This is a POST request. The request body should contain a JSON object with the following properties:
- contactId (Required): The ID of the contact you want to add to the list.
- listId (Required): The ID of the list you want to add the contact to.
Additional Notes:
- This endpoint performs authorization checks to ensure you have permission to modify both the contact and the list you are trying to associate.
- The success message includes the actual name of the list the contact was added to.
-