Membership Card

Add running xp

post
/entities/{entityId}/add-xp

This endpoint allows add running xp for a user.

Path parameters
entityIdstringRequired
Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
xpnumberOptionalExample: 10
forUserIdstringOptionalExample: user-123
Responses
200

Successful response

application/json
post
/entities/{entityId}/add-xp

Get Membership for user

get
/entities/{entityId}/users/{userId}/xp

This endpoint allows get running xp for a user.

Path parameters
entityIdstringRequired
userIdstringRequired
Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/users/{userId}/xp

Get DynamicNft for user

post
/entities/{entityId}/users/xp

This endpoint allows get Multiple DynamicNft for a user.

Path parameters
entityIdstringRequired
Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
userIdsstring[]OptionalExample: ["userid-123","userid-456"]
Responses
200

Successful response

application/json
post
/entities/{entityId}/users/xp

Get all membership cards of a user

get
/mynfts

This endpoint retrieves membership cards for a user.

Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
useridstringRequired

The Id of the user performing the request.

Example: dummy-userid
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
get
/mynfts

Get membership card details for an entity

get
/entities/{entityId}/mynfts

This endpoint retrieves membership card details for an entity.

Path parameters
entityIdstringRequired
Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
useridstringRequired

The Id of the user performing the request.

Example: dummy-userid
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/mynfts

Recalculate users membership card

get
/hidden/entities/{entityId}/recalculate-mynft

This endpoint recalculates a user's membership card.

Path parameters
entityIdstringRequired
Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
useridstringRequired

The Id of the user performing the request.

Example: dummy-userid
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
get
/hidden/entities/{entityId}/recalculate-mynft

Get all membership card themes for an entity

get
/entities/{entityId}/themes

This endpoint retrieves all the membership card themes for an entity.

Path parameters
entityIdstringRequired
Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
useridstringRequired

The Id of the user performing the request.

Example: dummy-userid
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/themes

Add new theme for an entity

post
/entities/{entityId}/themes

This endpoint allows to add a new theme for an entity.

Path parameters
entityIdstringRequired
Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
useridstringRequired

The Id of the user performing the request.

Example: dummy-userid
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
membershipTiernumberRequiredExample: 10
titlestringRequiredExample: dummy-title
pricestringRequiredExample: 100 $
backgroundImageIPFSstringOptionalExample: image-ipfs
horizontalLogoImageIPFSstringOptionalExample: image-ipfs
squareLogoImageIPFSstringOptionalExample: image-ipfs
backgroundColorstringOptionalExample: red
accentColor1stringOptionalExample: red
accentColor2stringOptionalExample: red
metadataIPFSstringOptionalExample: ipfs
Responses
200

Successful response

application/json
post
/entities/{entityId}/themes

Get membership card themes details for an entity

get
/entities/{entityId}/themes/{themeId}

This endpoint retrieves the membership card themes details for an entity.

Path parameters
entityIdstringRequired
themeIdstringRequired
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
useridstringRequired

The Id of the user performing the request.

Example: dummy-userid
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/themes/{themeId}

Update theme for an entity

post
/entities/{entityId}/themes/{themeId}/update

This endpoint allows to update a new theme for an entity.

Path parameters
entityIdstringRequired
themeIdstringRequired
Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
membershipTiernumberRequiredExample: 10
titlestringRequiredExample: dummy-title
pricestringRequiredExample: 100 $
backgroundImageIPFSstringRequiredExample: image-ipfs
horizontalLogoImageIPFSstringRequiredExample: image-ipfs
squareLogoImageIPFSstringRequiredExample: image-ipfs
backgroundColorstringOptionalExample: red
accentColor1stringOptionalExample: red
accentColor2stringOptionalExample: red
metadataIPFSstringOptionalExample: ipfs
Responses
200

Successful response

application/json
post
/entities/{entityId}/themes/{themeId}/update

Delete theme for an entity

post
/entities/{entityId}/themes/{themeId}/delete

This endpoint allows to delete a theme for an entity.

Path parameters
entityIdstringRequired
themeIdstringRequired
Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
objectOptional
Responses
200

Successful response

application/json
post
/entities/{entityId}/themes/{themeId}/delete

set default theme for an entity

post
/entities/{entityId}/themes/default

This endpoint allows to set a default theme for an entity.

Path parameters
entityIdstringRequired
Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
themeIdstringRequiredExample: theme-101
Responses
200

Successful response

application/json
post
/entities/{entityId}/themes/default

Get XP for a specific entity

get
/entities/{entityId}/xp

Retrieve the XP (experience points) for a specific entity.

Path parameters
entityIdstringRequired

ID of the entity to get XP for

Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/xp

Get XP for multiple entities

post
/entities/xp

Retrieve the XP (experience points) for multiple entities.

Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
entityIdsstring[]Required
Responses
200

Successful response

application/json
post
/entities/xp

Get XP history for a user in a specific entity

get
/entities/{entityId}/users/{userId}/xp-history

Retrieve the XP history for a specific user in a specific entity.

Path parameters
entityIdstringRequired

The ID of the entity.

userIdstringRequired

The ID of the user.

Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
pageintegerOptional

The page number for pagination (default: 1).

Default: 1
limitintegerOptional

The number of items per page (default: 20).

Default: 20
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/users/{userId}/xp-history

Get XP leaderboard for a specific entity

get
/entities/{entityId}/xp-leaderboard

Retrieve the XP leaderboard for a specific entity, showing users with the highest XP.

Path parameters
entityIdstringRequired

The ID of the entity.

Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
pageintegerOptional

The page number for pagination (default: 1).

Default: 1
limitintegerOptional

The number of items per page (default: 20).

Default: 20
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/xp-leaderboard

Get user XP leaderboard rank

get
/entities/{entityId}/users/{userId}/xp-leaderboard-rank

Retrieve the XP leaderboard rank for a specific user in a given entity. The response includes the user's position, threshold information, and whether the user is within the specified threshold.

Path parameters
entityIdstringRequired

The ID of the entity

userIdstringRequired

The ID of the user

Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
thresholdinteger · max: 100Optional

The percentage threshold for XP

Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/users/{userId}/xp-leaderboard-rank

Get all tags an entity

get
/entities/{entityId}/tags

This endpoint retrieves all the tags of an entity.

Path parameters
entityIdstringRequired
Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/tags

Last updated