Update Email
patch
/v1/emails/{email_id}Updates the address on an existing email resource. Side effect: writes the new value to the email row. Note: the underlying route is registered as PUT and accepts the same JSON:API body.
Requires a bearer token: Authorization: Bearer <token>.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| email_id | string <uuid> | Yes | Public UUID of the email.e.g. e6f7a8b9-0c1d-42e3-94f5-a6b7c8d9e0f1 |
Request
cURL
curl -X PATCH https://api.wellapp.ai/v1/emails/{email_id} \
-H "Authorization: Bearer $WELL_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"data": {
"type": "email",
"attributes": {
"email": "ap@anthropic.com"
}
}
}'Request body
{
"data": {
"type": "email",
"attributes": {
"email": "ap@anthropic.com"
}
}
}Responses
200 — The updated email resource.
{
"data": {
"type": "email",
"id": "e6f7a8b9-0c1d-42e3-94f5-a6b7c8d9e0f1",
"attributes": {
"value": "ap@anthropic.com",
"created_at": "2026-01-12T09:31:05.000Z",
"updated_at": null
},
"relationships": {
"company_emails": {
"data": [
{
"type": "company_email",
"id": "00000000-0000-4000-8000-000000000001"
}
]
},
"person_emails": {
"data": [
{
"type": "person_email",
"id": "00000000-0000-4000-8000-000000000001"
}
]
}
}
}
}400 — Bad Request
{
"code": "BAD_REQUEST",
"status": 400,
"title": "Bad Request",
"message": "See title.",
"meta": {
"trace_id": "a1b2c3",
"log_id": "a1b2c3"
}
}401 — Unauthorized
{
"code": "UNAUTHORIZED",
"status": 401,
"title": "Unauthorized",
"message": "See title.",
"meta": {
"trace_id": "a1b2c3",
"log_id": "a1b2c3"
}
}403 — Forbidden
{
"code": "FORBIDDEN",
"status": 403,
"title": "Forbidden",
"message": "See title.",
"meta": {
"trace_id": "a1b2c3",
"log_id": "a1b2c3"
}
}404 — Not Found
{
"code": "NOT_FOUND",
"status": 404,
"title": "Not Found",
"message": "See title.",
"meta": {
"trace_id": "a1b2c3",
"log_id": "a1b2c3"
}
}