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
Request
- Base URLhttps://api.unstoppabledomains.com/profile
- Authnone declared. Required headers: x-auth-domain, x-auth-expires, x-auth-signature
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Example response
{
"url": "https://path/to/attachment"
}Changes
No recorded changes to this operation across all 1 revision of this API.