# Edit a Saved Person `PATCH https://api.getprospect.com/v2/people/{id}/edits` Sets or clears your workspace's own first name, last name, email and phone for a person it saved; every People answer then serves them to your workspace in place of ours. A string sets the field, null or an empty string clears it (our data shows again), an absent key leaves it alone. Costs no credits and is not rate limited. 404 NOT_SAVED when the workspace has not saved the person. ## Authentication Pass your API key in the `x-api-key` header. ## Body parameters - `first_name` (string, optional, max length: 100): First name to show instead of ours. Example: `{"first_name":"Em"}` - `last_name` (string, optional, max length: 100): Last name to show instead of ours. - `email` (string, optional): An email address; stored lower-cased. Example: `{"email":"emily@example.com"}` - `phone` (string, optional): 3-40 characters of digits, spaces and + ( ) - . with at least one digit. ## Path parameters - `id` (string, required): The GetProspect person id. Example: `"64f1a2b3c4d5e6f7a8b9c0d1"` ## Example request ```bash curl --request PATCH \ --url https://api.getprospect.com/v2/people/64f1a2b3c4d5e6f7a8b9c0d1/edits \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' \ --data ' { "first_name": "Em", "phone": null } ' ``` ## Response 200 The person's edits after this patch (`{}` once every field is cleared). ```json { "success": true, "data": { "id": "64f1a2b3c4d5e6f7a8b9c0d1", "edits": { "first_name": "Em" } }, "metadata": { "timestamp": "2026-10-08T09:30:00.000Z" } } ``` ## Response 400 Invalid request (`VALIDATION_ERROR`): a field of the wrong type or format (`payload.field` names it), an id that is not a person id, or a body with no field. ```json { "success": false, "data": null, "metadata": { "timestamp": "2026-10-08T09:30:00.000Z" }, "errors": [ { "name": "VALIDATION_ERROR", "message": "first_name must be a string", "payload": { "field": "first_name", "code": "wrong_type", "received_value": 5, "received_type": "number" } } ] } ``` ## Response 401 Missing, unknown or inactive credentials (`UNAUTHORIZED`). ## Response 404 Your workspace has not saved this person (`NOT_SAVED`). ```json { "success": false, "data": null, "metadata": { "timestamp": "2026-10-08T09:30:00.000Z" }, "errors": [ { "name": "NOT_SAVED", "message": "This person is not saved in your workspace." } ] } ``` ## Response 500 Unexpected server error.