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 -

  1. Create a token or any unique text for the user on your platform/protocol.

  2. Have it signed by the user with their EVM based wallet.

  3. 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

NameTypeDescription

UserETHAddress*

String

{
    // Response
}

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

NameTypeDescription

UserETHAddress

String

Query Parameters

NameTypeDescription

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

NameTypeDescription

UserETHAddress*

String

Query Parameters

NameTypeDescription

address*

String

signature*

String

Request Body

NameTypeDescription

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

For any other custom, fields contact Quest Admins.

Last updated