---
title: "Set primary email"
method: PUT
path: "/api/v1/me/emails/{id}/primary"
tags: ["Emails"]
---

# Set primary email

`PUT /api/v1/me/emails/{id}/primary`

## Request

- Base URL: `https://api.proof.holdings`
- URL: `https://api.proof.holdings/api/v1/me/emails/{id}/primary`
- Auth: API key in cookie `auth_token`

Set an email address as the primary email.

## Path parameters

- `id` string, required: MongoDB ObjectId

## Response `200`

Primary email updated

- SuccessResponse: Generic success response
  - `success` boolean, required
  - `message` string

## Other responses

- `404`: Email not found

---

[API](https://skmtc.dev/proof/apis/proof-holdings-api.md) · [All operations](https://skmtc.dev/proof/apis/proof-holdings-api/llms.txt) · [OpenAPI document](https://skmtc.dev/proof/apis/proof-holdings-api/revisions/6b8d61ee354f?raw)
