User Module
This module includes APIs related to a particular user.
User Profile Module maintains all the data associated with the user.
Create New User
Creates a new user. The main reason is to setup the signature initial authentication mechanism for all the requests by the user.
Steps -
Create a token or any unique text for the user on your platform/protocol.
Have it signed by the user with their EVM based wallet.
Send user eth address, token and the generated signature to create new user of Quest Protocol.
GET
https://api.questprotocol.xyz/api/token
Query Parameters
Name | Type | Description |
---|---|---|
UserETHAddress* | String |
Get User Info
Get details for the user. Send user ETH address and the saved signature in query params to get the user details. This is the user Info upon available upon request -
name, imageUrl, bannerUrl, subtitle, location, expertise, goals, interests, helpWith, about, currentWork, funFacts, email, twitter, discordId, linkedin, instagram, website, calendly
GET
https://api.questprotocol.xyz/api/users
Path Parameters
Name | Type | Description |
---|---|---|
UserETHAddress | String |
Query Parameters
Name | Type | Description |
---|---|---|
address* | String | |
signature* | String |
Set User Info
To set details for the User, send user ETH address and the saved generated signature to set the User details.
POST
https://api.questprotocol.xyz/api
Path Parameters
Name | Type | Description |
---|---|---|
UserETHAddress* | String |
Query Parameters
Name | Type | Description |
---|---|---|
address* | String | |
signature* | String |
Request Body
Name | Type | Description |
---|---|---|
name* | String | |
imageUrl* | String | |
bannerUrl* | String | |
subtitle* | String | |
location* | String | |
expertise | String | |
goals | String | |
interests | String | |
helpWith | String | |
about | String | |
currentWork | String | |
funFacts | String | |
twitter* | String | |
email* | String | |
discordId* | String | |
linkedin* | String | |
instagram* | String | |
website* | String | |
calendly | String |
Last updated