Skip to main content
Add a public alias to a DID. An alias is a human-friendly public name. It does not replace the DID and must not be used as the cryptographic identity without resolving it first.

Path parameters

string
required
The DID that owns the alias.

Request body

string
required
The DID that owns the alias. It must match the path.
string
required
The operation name. Use add_alias.
string
required
The lowercase alias to add. It cannot contain @ or #; those characters are reserved for delivery-target and DID-document syntax.
string
required
The request nonce.
string
required
The authorization expiration as an ISO-8601 timestamp or unsigned Unix-millisecond string. The canonical payload encodes it as u64 milliseconds.
string
The public signing-key identifier. Defaults to root.
string
required
The canonical SCALE AliasAuthorizationPayload, encoded as 0x-prefixed hex or Base64.
string
required
The authorization signature.

Response

string
required
The submission status.
string
required
The affected DID.
string
required
The alias operation.
string
required
The transaction hash.
string
required
A human-readable submission result.
202 Accepted means the Directory accepted the request for processing. It does not confirm final settlement.

Straight to the point

  • Method: POST
  • Action: add_alias
  • Alias normalization: lowercase, maximum 64 characters
  • Reserved characters: @ and # are prohibited
  • Signed payload: canonical SCALE alias authorization bytes