Entity

Create new entity

post
/entities

This endpoint creates a new entity.

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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Body
namestringRequiredExample: dummy-entity
chainSourcestringRequiredExample: OFF_CHAIN
contractsstringOptionalExample: dummy-contract
openseaSlugstringOptionalExample: dummy-slug
descriptionstringOptionalExample: description
websitestringOptionalExample: https://www.websitelink.com
imageUrlstringOptionalExample: imageurl
bannerUrlstringOptionalExample: bannerurl
entityURLAliasstringOptionalExample: simple-alias
parentEntityIdstringOptionalExample: e-0000000000
Responses
post
/entities

Get all entities

get
/entities

This endpoint retrieves all the available entities.

Query parameters
pagestringOptional

The page number of expected set of documents.

Example: 1
limitstringOptional

The limit of the number of documents each page.

Example: 10
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
Responses
200

Successful response

application/json
get
/entities

Get entity details

get
/entities/{entityId}

This endpoint retrieves details of an entity.

Path parameters
entityIdstringRequired
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
Responses
200

Successful response

application/json
get
/entities/{entityId}

Update entity details

post
/entities/{entityId}/update

This endpoint updates an entity.

Path parameters
entityIdstringRequired
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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Body
namestringOptionalExample: dummy-entity
descriptionstringOptionalExample: description
twitterstringOptionalExample: twitterid
discordstringOptionalExample: discordId
telegramstringOptionalExample: telegramId
instagramstringOptionalExample: instagramId
websitestringOptionalExample: https://www.websitelink.com
imageUrlstringOptionalExample: imageurl
bannerUrlstringOptionalExample: bannerurl
entityURLAliasstringOptionalExample: simple-alias
isPrivatebooleanOptionalExample: true
decreaseCreditsAtstringOptionalExample: CAMPAIGN_CREATION
decreaseCreditsFromstringOptionalExample: SUB_ENTITY
Responses
200

Entity updated

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

Add a custom entity ID

post
/entities/{entityId}/custom-ids

This endpoint adds a new custom entity ID.

Path parameters
entityIdstringRequired
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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Body
customPlatformNamestringRequiredExample: dummy-platform
customPlatformIdstringRequiredExample: platformId
namestringOptionalExample: dummy-name
usernamestringOptionalExample: dummy-username
linkstringOptionalExample: dummy-link
accessTokenstringOptionalExample: dummy-access-token
refreshTokenstringOptionalExample: dummy-refresh-token
expiresInstringOptionalExample: some-date
Responses
200

Entity ID added

application/json
post
/entities/{entityId}/custom-ids

Get entity ID for alias

get
/entities/alias/{alias}/id

This endpoint retrieves the entityId associated with the given alias.

Path parameters
aliasstringRequired
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
Responses
200

Successful response

application/json
get
/entities/alias/{alias}/id

Get entity ID for custom entity ID

get
/entities/custom-ids/{customEntityId}/id

This endpoint retrieves the entityId associated with the given customEntityId.

Path parameters
customEntityIdstringRequired
Header parameters
apikeystringRequired

The API key for authentication

Example: test
apisecretstringOptional

The secret key for authentication

Example: test-secret
Responses
200

Successful response

application/json
get
/entities/custom-ids/{customEntityId}/id

Update entity Plan

post
/entities/{entityId}/update-plan

This endpoint updates the entity's current plan.

Path parameters
entityIdstringRequired
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
Responses
200

Successful response

application/json
post
/entities/{entityId}/update-plan

Get Users of an entity

get
/entities/{entityId}/users

This endpoint retrieves all the users associated with the given 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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Responses
200

Successful response

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

Add users to entity

post
/entities/{entityId}/force-add

This endpoint adds the users to a given 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
userIdsstring[]RequiredExample: ["userId"]
Responses
200

Successful response

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

Add admin to entity

post
/entities/{entityId}/invite

This endpoint adds an admin to the entity.

Path parameters
entityIdstringRequired
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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Body
rolestringOptionalExample: ADMIN
emailstringRequiredExample: [email protected]
namestringOptionalExample: Jon Doe
Responses
200

Successful response

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

Get entity API keys

get
/entities/{entityId}/keys

This endpoint retrives the API key for an entity.

Path parameters
entityIdstringRequired
Query parameters
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Responses
200

Successful response

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

Get Entity Theme

get
/entities/{id}/get-theme

Retrieve the theme of an entity by its ID.

Path parameters
idstringRequired
Responses
200

Successful response

application/json
get
/entities/{id}/get-theme

Update the theme of an entity.

post
/entities/{id}/update-theme

This endpoint allows to update the theme of an entity.

Path parameters
idstringRequired
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
useridstringRequired

The Id of the user performing the request.

Example: dummy-userid
Body
themeobjectRequired
Responses
200

Successful response

application/json
post
/entities/{id}/update-theme

Get all admins of an entity.

get
/entities/{entityId}/admins

This endpoint retrieves all the active admins of an entity.

Path parameters
entityIdstringRequired
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}/admins

Remove admin from an entity.

post
/entities/{entityId}/remove-admin

This endpoint allows the owner to remove an admin from an entity.

Path parameters
entityIdstringRequired
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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Body
userIdstringRequiredExample: admin-1
ownerUserIdstringRequiredExample: entity-owner-1
Responses
200

Successful response.

application/json
post
/entities/{entityId}/remove-admin

Approve entity creation

post
/admin/entities/approve

This endpoint enables the creation of an entity.

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
entityIdstringRequiredExample: e-00001
baseNamestringOptionalExample: dummy-base-name
baseSymbolstringOptionalExample: dummy-base-symbol
Responses
200

Successful response

application/json
post
/admin/entities/approve

Get all pending entities

get
/admin/entities/pending

This endpoint retrieves all the entities that are yet to be enabled.

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
/admin/entities/pending

Connect Twitter

post
/entities/{entityId}/connect-twitter

This endpoint connects the twitter account associated with the entity.

Path parameters
entityIdstringRequired
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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Body
userIdstringOptionalExample: u-0000101
entityIdstringOptionalExample: e-0000101
codestringOptionalExample: twitter-redirect-code
redirectUristringOptionalExample: twitter-redirect-uri
typestringOptionalExample: ENTITY_RECORD
Responses
200

Successful response

application/json
post
/entities/{entityId}/connect-twitter

Remove Twitter

post
/entities/{entityId}/remove-twitter

This endpoint disconnects the twitter account associated with the entity.

Path parameters
entityIdstringRequired
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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Responses
200

Successful response

application/json
post
/entities/{entityId}/remove-twitter

Connect Discord

post
/entities/{entityId}/connect-discord

This endpoint connects the discord account associated with the entity.

Path parameters
entityIdstringRequired
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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Body
guildIdstringOptionalExample: id123
permissionsnumberOptionalExample: 123
userIdstringOptionalExample: u-0000101
entityIdstringOptionalExample: e-0000101
codestringOptionalExample: twitter-redirect-code
redirectUristringOptionalExample: twitter-redirect-uri
typestringOptionalExample: ENTITY_RECORD
Responses
200

Successful response

application/json
post
/entities/{entityId}/connect-discord

Remove Discord

post
/entities/{entityId}/remove-discord

This endpoint disconnects the discord account associated with the entity.

Path parameters
entityIdstringRequired
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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Responses
200

Successful response

application/json
post
/entities/{entityId}/remove-discord

Get Social Tokens for Entity

get
/entities/{entityId}/social-tokens

Retrieve social tokens for an entity by its ID.

Path parameters
entityIdstringRequired
Query parameters
recordTypestring · enumRequired

Type of social record (e.g., TWITTER, DISCORD, INSTAGRAM)

Possible values:
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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/social-tokens

Add or Update Social Tokens for User in Entity

post
/entities/{entityId}/users/{userId}/social-tokens

Add or update social tokens for a user within an entity.

Path parameters
entityIdstringRequired
userIdstringRequired
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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Body
authClientIdstringOptional
authClientSecretstringOptional
apiKeystringOptional
apiSecretstringOptional
recordTypestring · enumOptionalPossible values:
authorizationTokenstringOptional
apiHoststringOptional
Responses
200

Successful response

application/json
post
/entities/{entityId}/users/{userId}/social-tokens

Get Tracking Tokens for Entity

get
/entities/{entityId}/tracking-tokens

Retrieve tracking tokens for an entity by its ID.

Path parameters
entityIdstringRequired
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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/tracking-tokens

Check Integration Status for Entity

get
/entities/{entityId}/check-tokens

Check integration status for an entity by its ID.

Path parameters
entityIdstringRequired
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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/check-tokens

Connect Slack to Entity

post
/entities/{entityId}/connect-slack

This endpoint allows connecting a Slack account to an entity.

Path parameters
entityIdstringRequired
Query parameters
userIdstringRequired
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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Body
codestringRequired
redirectUristringRequired
Responses
200

Successful response

application/json
post
/entities/{entityId}/connect-slack

Get MAU Count for Entity

get
/entities/{entityId}/month/{month}/mau-count

Retrieve Monthly Active Users (MAU) count for a specific entity and month

Path parameters
entityIdstringRequired

The unique identifier of the entity.

monthstringRequired

The month for which the MAU count is requested (e.g., "2023-01").

Responses
200

Successful response

application/json
get
/entities/{entityId}/month/{month}/mau-count

Get All Organizations for Entity

get
/entities/{entityId}/organizations

Retrieve all organizations associated with a specific entity.

Path parameters
entityIdstringRequired

The unique identifier of the entity.

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
entity-authentication-tokenstringOptional

The authentication token to authorize requests on behalf of an entity.

Example: dummy-token
Responses
200

Successful response

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

Delete Entity

post
/entities/{entityId}/delete

This endpoint deletes an entity.

Path parameters
entityIdstringRequired
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
objectOptional
Responses
200

Successful response

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

Last updated