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

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

`GET /user/{domain}/signature`

Retrieve the message text that must be signed by the domain owner. The request URL and any request data must match exactly the data that will be used on the signature required endpoint.

## Path parameters

- `domain` string, required

## Query parameters

- `expiry` number
- `device` boolean

## 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)
