Common API Endpoints
General Purpose API endpoints:
Currently used for the WC HQ Logo, stores the base64 raw data of the profile image for a community
OK
POST /v1/image HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"addr": "text",
"base64data": "text",
"id": 1
}OK
[
{
"addr": "text",
"base64data": "text",
"id": 1
}
]Currently used for the WC HQ Logo, stores the base64 raw data of the profile image for a community
OK
PUT /v1/image HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"addr": "text",
"base64data": "text",
"id": 1
}OK
[
{
"chain": "text",
"id": 1,
"nftaddr": "text",
"walletaddr": "text"
}
]Retreive image data for use with user/community/nft group dislayed icon
Wallet/NFT Address Mapped to User/Community
OK
GET /v1/image/{addr} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
OK
[
{
"addr": "text",
"base64data": "text",
"id": 1
}
]public facing PFP storage to make it faster for UI to get and load images
OK
POST /v1/imagepfp HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"addr": "text",
"base64data": "text",
"id": 1
}OK
[
{
"addr": "text",
"base64data": "text",
"id": 1
}
]API user could check this directly via any third party service like NFTPort, Moralis as well
NFT Contract Address
Wallet Address
OK
GET /v1/is_owner/{contract}/{wallet} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
OK
[
{
"has_messaged": true,
"is_verified": true,
"joined": true,
"logo": "text",
"members": 1,
"messages": [
{
"context_type": "text",
"fromaddr": "text",
"id": 1,
"message": "text",
"nftaddr": "text",
"sender_name": "text",
"timestamp": "text",
"timestamp_dtm": "text",
"type": "text"
}
],
"name": "text",
"social": [
{
"type": "text",
"username": "text"
}
],
"tweets": [
{
"attachments": {
"media_keys": [
"text"
]
},
"author_id": "text",
"created_at": "text",
"id": "text",
"media": {
"media_keys": [
"text"
]
},
"text": "text",
"user": {
"id": "text",
"name": "text",
"profile_image_url": "text",
"username": "text"
}
}
]
}
]Give a common name (Kevin.eth, BillyTheKid, etc) to an Address
ADDRESS
DOMAIN
NAME
SITE USER SIGNED UP FROM
OK
POST /v1/name HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 75
{
"address": "text",
"domain": "text",
"id": 1,
"name": "text",
"signupsite": "text"
}OK
1get the given a common name (Kevin.eth, BillyTheKid, etc) what has already been mapped to an Address
Get Name for given address
OK
GET /v1/name/{name} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
OK
[
{
"address": "text",
"id": 1,
"name": "text"
}
]Update settings, email address, daily notifications and per DM notifications
DOMAIN
Publickey string json:"publickey"
AUTO-GENERATED (PRIMARY KEY)
RECEIVE NOTIFICATION FOR EVERY DM RECEIVED (string value true/false)
RECEIVE DAILY NOTIFICATION SUMMARY EMAIL (string value true/false)
LATEST SITE WHERE NOTIFICATIONS EMAIL WAS ENTERED
USER CONFIRMED EMAIL OR NOT (string value true/false)
*** REQUIRED INPUT ***
OK
POST /v1/update_settings HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 133
{
"domain": "text",
"email": "text",
"id": 1,
"notify24": "text",
"notifydm": "text",
"signupsite": "text",
"verified": "text",
"walletaddr": "text"
}OK
[
{
"domain": "text",
"email": "text",
"id": 1,
"notify24": "text",
"notifydm": "text",
"signupsite": "text",
"verified": "text",
"walletaddr": "text"
}
]Users will get an email when signing-up to verify email, to ensure we do not send spam
DOMAIN
Publickey string json:"publickey"
AUTO-GENERATED (PRIMARY KEY)
RECEIVE NOTIFICATION FOR EVERY DM RECEIVED (string value true/false)
RECEIVE DAILY NOTIFICATION SUMMARY EMAIL (string value true/false)
LATEST SITE WHERE NOTIFICATIONS EMAIL WAS ENTERED
USER CONFIRMED EMAIL OR NOT (string value true/false)
*** REQUIRED INPUT ***
OK
GET /v1/verify_email/{email}/{verification_code} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 133
{
"domain": "text",
"email": "text",
"id": 1,
"notify24": "text",
"notifydm": "text",
"signupsite": "text",
"verified": "text",
"walletaddr": "text"
}OK
[
{
"domain": "text",
"email": "text",
"id": 1,
"notify24": "text",
"notifydm": "text",
"signupsite": "text",
"verified": "text",
"walletaddr": "text"
}
]Last updated