---
title: "Confirm an update to a domain's on-chain records"
method: POST
path: "/user/{domain}/records/confirm"
tags: ["Profile management endpoints"]
---

# Confirm an update to a domain's on-chain records

`POST /user/{domain}/records/confirm`

## Request

- Base URL: `https://api.unstoppabledomains.com/profile`
- URL: `https://api.unstoppabledomains.com/profile/user/{domain}/records/confirm`
- Auth: none declared. Required headers: `x-auth-domain`, `x-auth-expires`, `x-auth-signature`
- TypeScript: <https://skmtc.dev/unstoppabledomains/apis/profile-api/docs/user/:domain/records/confirm/post.ts> (a function with typed inputs; its response is checked against the schema)

The POST call can be used to complete the process of modifying a domain's on-chain records by submitting a signed transaction hash to confirm an operation. Authentication is required using domain owner signature.

## Path parameters

- `domain` string, required

## Headers

- `x-auth-domain` string, required
- `x-auth-expires` string, required
- `x-auth-signature` string, required

## Request body

- ConfirmDomainRecordRequest
  - `operationId` string: The operation ID returned from a request to update domain records
  - `dependencyId` string: The dependency ID returned from a request to update domain records
  - `signature` string: The signature created by signing the domain record transaction hash with domain owner's private key
  - `txHash` string: A completed transaction hash that specifies the operation to confirm

## Response `200`

Successful confirmation of domain record update. The domain records will be updated on the blockchain.

- OperationResponse
  - `type` string: Description of response type
  - `operation` Operation
    - `id` string: The operation ID
    - `dependencies` Dependency[]: Tasks that must be completed before the operation is complete
      - `id` string: The dependency ID
      - `transaction` object: On-chain transaction details
        - `hash` string: Transaction hash of the on-chain operation
        - `messageToSign` string: A message that must be signed by the domain owner's wallet to complete the transaction

## Other responses

- `404`: Domain not found

---

[API](https://skmtc.dev/unstoppabledomains/apis/profile-api.md) - [All operations](https://skmtc.dev/unstoppabledomains/apis/profile-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unstoppabledomains/apis/profile-api/revisions/10f8400cb1c1?raw)
