v1

latestOpenAPI 3.0.0raw.githubusercontent.com2026-04-107095124.5 KB
Profile management endpoints

Upload an XMTP or Push Protocol attachment

Upload an XMTP or Push Protocol attachment. Quota enforced per user. Authentication is required using domain owner signature.

post/user/{domain}/attachment

Path parameters

domainstring required

The domain name to query profile data

Headers

x-auth-domainstring required

The domain to authorize

x-auth-expiresstring required

The expiration time of the signature

x-auth-signaturestring required

The signature generating using domain owner private key

Request body

Example request

{
  "attachment": {
    "base64": "aGVsbG8gd29ybGQK",
    "type": "image/png"
  }
}

Response

Public URL to access the uploaded attachment

urlstring

Public URL to access the attachment

Example response

{
  "url": "https://path/to/attachment"
}