cURL
curl --request PATCH \ --url https://api.replyke.com/api/v6/:projectId/lists/:listId/add-entity \ --header 'Content-Type: application/json' \ --data ' { "entityId": "<string>" } '
{ "id": "<string>", "projectId": "<string>", "userId": "<string>", "name": "<string>", "entityIds": [ {} ], "createdAt": "<string>", "updatedAt": "<string>" }
Add an entity to a list
Missing listId or entityId - 400 Bad Request
{ "error": "Missing listId", "code": "list/missing-data" }
List Not Found - 404 Not Found
{ "error": "List not found", "code": "list/not-found" }
Entity Already Exists - 409 Conflict
{ "error": "Entity already exists in the list", "code": "list/entity-exists" }
Server Error - 500 Internal Server Error
{ "error": "Internal server error.", "code": "list/server-error", "details": "<Error message>" }