---
title: "Validate a customer return address and show postal corrections."
method: POST
path: "/v1/account/sender/validate"
---

# Validate a customer return address and show postal corrections.

`POST /v1/account/sender/validate`

## Request

- Base URL: `https://paperagent.dev`
- URL: `https://paperagent.dev/v1/account/sender/validate`
- Auth: API key in cookie `__Host-pa_session`

## Headers

- `X-CSRF-Token` string, required

## Request body

- object
  - `sender_name` string, required
  - `address` object, required
    - `name` string
    - `line1` string, required
    - `line2` string
    - `city` string, required
    - `state` string, required
    - `zip5` string, required
    - `zip4` string

## Response `200`

Success

- object
  - `validation_id` string, required
  - `sender_name` string, required
  - `address` object, required
    - `name` string
    - `line1` string, required
    - `line2` string
    - `city` string, required
    - `state` string, required
    - `zip5` string, required
    - `zip4` string
  - `corrections` string[], required
  - `expires_in` number, required

## Other responses

- `default`: Browser session, CSRF, validation, or account policy error.

---

[API](https://skmtc.dev/paperagent/apis/paperagent-rest-api.md) · [All operations](https://skmtc.dev/paperagent/apis/paperagent-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/paperagent/apis/paperagent-rest-api/revisions/388148938051?raw)
