Profile management endpoints
Edit domain profile data in bulk
The POST call can be used to create new domain profiles or make updates to existing profiles. All domains in the bulk update list must belong to the same wallet address. Authentication is required using the domain owner signature from one of the domains in the bulk update list.
post/user/domains
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
{
"domains": [
"bulk.crypto"
],
"profile": {
"displayName": "John Doe",
"description": "This is my domain",
"location": "Metaverse",
"imagePath": "https://ipfs.io/ipfs/path/to/pfp",
"coverPath": "https://ipfs.io/ipfs/path/to/banner",
"web2Url": "https://www.mywebsite.com",
"publicDomainSellerEmail": "seller@gmail.com",
"phoneNumber": "555-555-5555",
"privateEmail": "me@email.com",
"thirdPartyMessagingConfigType": "Skiff",
"data": {
"image": {
"base64": "aGVsbG8gd29ybGQK",
"type": "image/png"
},
"cover": {
"base64": "aGVsbG8gd29ybGQK",
"type": "image/png"
}
},
"socialAccounts": {
"discord": "discorduser",
"reddit": "reddituser",
"twitter": "twitteruser",
"telegram": "telegramuser",
"youtube": "youtubeuser"
}
}
}Response
Domain profile
Example response
{
"success": true,
"domains": [
"updated.crypto"
]
}