⚙
WalletChat API Reference
WalletChat API is free for basic use. Use the Swagger docs for interactive manual testing.
Swagger API Docs are where you can interact with the API live, all you need is a valid JWT for authentication. Please read the docs to learn more.
ADMIN API KEY functions allow vetted customer integrations to streamline the user experience, enhancing the integrated sign-in process.
To authenticate with an API key, the ADMIN_API_KEY must be used in place of the end user JWT.
We ask API key holders to make these requests in a protected manner, mainly from their own API.
If the ADMIN API key is used in the client browser, it may be misused by malicious actors.
Below are examples of each API which has an ADMIN API Key overrride.
curl
is just used as example,
replace with equivalent functionality as needed.Update the wallet address to name mapping:
curl --location 'https://api.v2.walletchat.fun/v1/name'
--header 'Authorization: Bearer AdminTestKey123'
--header 'Content-Type: text/plain'
--data '{
"name": "Nftz4Life",
"address": "0x14ffE94d2B5Bf47a8d55D713b3d6b35039167cfb"
}'
Update the email address to wallet address mapping:
curl --location 'https://api.v2.walletchat.fun/v1/update_settings'
--header 'Authorization: Bearer MyTestApiKey123'
--header 'Content-Type: text/plain'
--data-raw '{
"email": "[email protected]",
"walletaddr": "0x14fcE94d2B5Bf47a8d54D713b3d6b35039167cfb"
}'
Last modified 6mo ago