---
title: "Update variables for a contact in a mailing list"
method: POST
path: "/addressbooks/{id}/emails/variable"
tags: ["Email address"]
---

# Update variables for a contact in a mailing list

`POST /addressbooks/{id}/emails/variable`

Updates custom variable values for a specific email address within a mailing list.

## Request body

- object
  - `email` string, email, required
  - `variables` object[], required
    - `name` string, required
    - `value` string, required

## Response `200`

Variables successfully updated

- ResultTrue
  - `result` boolean

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `422` — Validation error

---

[API](https://skmtc.net/sendpulse/apis/sendpulse-bulk-email-api.md) · [All operations](https://skmtc.net/sendpulse/apis/sendpulse-bulk-email-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sendpulse/sendpulse-bulk-email-api/revisions/cd38f8c6a425/schema)
