---
title: "Retrieves the message that must be signed to edit private domain profile data"
method: POST
path: "/user/{domain}/signature"
tags: ["Message generator endpoints"]
---

# Retrieves the message that must be signed to edit private domain profile data

`POST /user/{domain}/signature`

Retrieve the required message that must be signed by the domain owner to update a domain profile. A POST request must include the exact JSON body that will be used to make the update. The entire contents of the JSON body are included in the message hash, to ensure the signature cannot be used in combination with unauthorized modifications to the domain profile.

## Path parameters

- `domain` string, required

## Query parameters

- `expiry` number

## Request body

- SerializedDomainProfilePost
  - `displayName` string — Name of domain owner
  - `displayNamePublic` boolean
  - `description` string — Short biography about the domain
  - `descriptionPublic` boolean
  - `location` string — Location
  - `locationPublic` boolean
  - `imagePath` string — URL to the domain profile picture
  - `imagePathPublic` boolean
  - `coverPath` string — URL to the domain banner image
  - `coverPathPublic` boolean
  - `web2Url` string — Website URL
  - `publicDomainSellerEmail` string — Public domain seller email visible to anyone
  - `web2UrlPublic` boolean
  - `showDomainSuggestion` boolean
  - `showFeaturedCommunity` boolean
  - `showFeaturedPartner` boolean
  - `phoneNumber` string — Phone number of domain owner
  - `phoneNumberPublic` boolean
  - `privateEmail` string — Personal email address to contact the domain owner
  - `messagingDisabled` boolean — Indicates if messaging feature should be disabled
  - `thirdPartyMessagingEnabled` boolean — Indicates if third party messaging should be enabled
  - `thirdPartyMessagingConfigType` string — Type of third part messaging
  - `data` object
    - `image` SerializedDomainProfileImageData
      - `base64` string — Base64 encoded string of the image data
      - `type` string — MIME type of the base64 encoded file (image/jpeg or image/png)
    - `cover` SerializedDomainProfileImageData
      - `base64` string — Base64 encoded string of the image data
      - `type` string — MIME type of the base64 encoded file (image/jpeg or image/png)
  - `socialAccounts` object
    - `discord` string — Name of the discord handle
    - `reddit` string — Name of the reddit handle
    - `twitter` string — Name of the twitter handle
    - `telegram` string — Name of the telegram handle
    - `youtube` string — Name of the youtube handle

## Response `200`

Message to be signed

- SerializedRequestMessage
  - `message` string — The message that must be signed by the domain owner's private key to authenticate a subsequent request
  - `headers` object
    - `x-auth-domain` string — The domain that must be included in subsequent request header
    - `x-auth-expires` string — Expiration time that must be included in subsequent request header

## Other responses

- `404` — Domain not found

---

[API](https://skmtc.net/unstoppabledomains/apis/profile-api.md) · [All operations](https://skmtc.net/unstoppabledomains/apis/profile-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unstoppabledomains/profile-api/versions/10f8400cb1c1/schema)
