CollabLand API Server (0.73.0)
Download OpenAPI specification:Download
AccessControlController.getCheckRolesResponse
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
requestId required | string |
Responses
Response samples
- 200
Content type
application/json
{- "requestId": "string",
- "roles": [
- {
- "id": "string",
- "granted": true
}
], - "errors": [
- {
- "_dummyFieldForGraphQL": "string"
}
]
}
AccessControlController.checkRoles
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Request Body schema: application/json
account | string Wallet address or account id |
Array of objects (TokenGrantedRole) A list of token granted roles to be enforced | |
callbackUrl | string Webhook url to be invoked once the access is checked |
async | boolean A flag to control if the response will be sent back asynchronously either via callback or polling |
Responses
Request samples
- Payload
Content type
application/json
{- "account": "string",
- "rules": [
- {
- "id": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "roleId": "string",
- "minToken": "string",
- "maxToken": "string",
- "chainId": 0,
- "tokenSymbol": "string",
- "tokenId": "string",
- "collectionName": "string",
- "eventId": "string",
- "contractAddress": "string",
- "type": "string",
- "scheme": "string",
- "query": "string",
- "variables": { },
- "asset": "string",
- "requiresMetadata": true,
- "version": "string"
}
], - "callbackUrl": "string",
- "async": true
}
Response samples
- 200
Content type
application/json
{- "requestId": "string",
- "roles": [
- {
- "id": "string",
- "granted": true
}
], - "errors": [
- {
- "_dummyFieldForGraphQL": "string"
}
]
}
AccessControlController.getRoles
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
communityId required | string |
userId required | string |
Responses
Response samples
- 200
Content type
application/json
{- "requestId": "string",
- "roles": [
- {
- "id": "string",
- "granted": true
}
], - "errors": [
- {
- "_dummyFieldForGraphQL": "string"
}
]
}
AccountController.getAdministratedCommunities
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Responses
Response samples
- 200
- 400
- 401
- 403
Content type
application/json
{- "paginationToken": "string",
- "items": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "status": "string",
- "communityId": "string",
- "ownerId": "string",
- "adminUserId": "string",
- "platform": "string",
- "link": "string",
- "serverImage": "string",
- "welcomeMessage": "string",
- "network": "string",
- "cashtag": "string",
- "tokenAddress": "string",
- "iconURL": "string",
- "inviteLink": "string",
- "channels": [
- {
- "name": "string",
- "link": "string",
- "tokenAmountToEnter": 0,
- "members": 0,
- "membersInLastDay": 0,
- "membersDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0
}
], - "quests": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "reward": "string",
- "total": 0,
- "remaining": 0,
- "deadline": 0,
- "communityId": "string",
- "tokenAddress": "string",
- "cashtag": "string",
- "tokenSymbol": "string",
- "createdByName": "string",
- "createdById": "string",
- "claimedBy": [
- "string"
], - "claimedByTime": [
- "string"
], - "link": "string",
- "stripePaymentIntent": "string",
- "published": true
}
], - "drops": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "title": "string",
- "reward": "string",
- "total": 0,
- "remaining": 0,
- "deadline": 0,
- "communityId": "string",
- "chainId": "string",
- "tokenAddress": "string",
- "cashtag": "string",
- "tokenSymbol": "string",
- "createdByName": "string",
- "createdById": "string",
- "claimedBy": [
- "string"
], - "claimedByTime": [
- "string"
], - "link": "string"
}
], - "stats": {
- "tokenPriceUsd": 0,
- "memberCount": 0,
- "cashtagTweetsInLastDay": 0,
- "cashtagTweetsDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0,
- "myMessageCount": 0,
- "gripStrength": 0,
- "cashtagTweetsPlusMessagesPerDay": 0,
- "dailyVolume": 0
}, - "tpcs": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "roleId": "string",
- "minToken": "string",
- "maxToken": "string",
- "chainId": 0,
- "tokenSymbol": "string",
- "tokenId": "string",
- "collectionName": "string",
- "eventId": "string",
- "platform": "string",
- "contractAddress": "string",
- "type": "string",
- "scheme": "string",
- "query": "string",
- "variables": { },
- "asset": "string",
- "requiresMetadata": true,
- "version": "string"
}
]
}
]
}
AccountController.getBalances
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Responses
Response samples
- 200
Content type
application/json
[- {
- "wallets": [
- {
- "address": "string",
- "accounts": [
- {
- "cashtag": "string",
- "tokenAddress": "string",
- "chainId": "string",
- "balance": "string"
}
]
}
], - "paymentChannel": {
- "address": "string",
- "accounts": [
- {
- "cashtag": "string",
- "tokenAddress": "string",
- "chainId": "string",
- "balance": "string"
}
]
}
}
]
AccountController.getUserCommunities
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Responses
Response samples
- 200
- 400
- 401
- 403
Content type
application/json
{- "paginationToken": "string",
- "items": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "status": "string",
- "communityId": "string",
- "ownerId": "string",
- "adminUserId": "string",
- "platform": "string",
- "link": "string",
- "serverImage": "string",
- "welcomeMessage": "string",
- "network": "string",
- "cashtag": "string",
- "tokenAddress": "string",
- "iconURL": "string",
- "inviteLink": "string",
- "channels": [
- {
- "name": "string",
- "link": "string",
- "tokenAmountToEnter": 0,
- "members": 0,
- "membersInLastDay": 0,
- "membersDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0
}
], - "quests": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "reward": "string",
- "total": 0,
- "remaining": 0,
- "deadline": 0,
- "communityId": "string",
- "tokenAddress": "string",
- "cashtag": "string",
- "tokenSymbol": "string",
- "createdByName": "string",
- "createdById": "string",
- "claimedBy": [
- "string"
], - "claimedByTime": [
- "string"
], - "link": "string",
- "stripePaymentIntent": "string",
- "published": true
}
], - "drops": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "title": "string",
- "reward": "string",
- "total": 0,
- "remaining": 0,
- "deadline": 0,
- "communityId": "string",
- "chainId": "string",
- "tokenAddress": "string",
- "cashtag": "string",
- "tokenSymbol": "string",
- "createdByName": "string",
- "createdById": "string",
- "claimedBy": [
- "string"
], - "claimedByTime": [
- "string"
], - "link": "string"
}
], - "stats": {
- "tokenPriceUsd": 0,
- "memberCount": 0,
- "cashtagTweetsInLastDay": 0,
- "cashtagTweetsDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0,
- "myMessageCount": 0,
- "gripStrength": 0,
- "cashtagTweetsPlusMessagesPerDay": 0,
- "dailyVolume": 0
}, - "tpcs": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "roleId": "string",
- "minToken": "string",
- "maxToken": "string",
- "chainId": 0,
- "tokenSymbol": "string",
- "tokenId": "string",
- "collectionName": "string",
- "eventId": "string",
- "platform": "string",
- "contractAddress": "string",
- "type": "string",
- "scheme": "string",
- "query": "string",
- "variables": { },
- "asset": "string",
- "requiresMetadata": true,
- "version": "string"
}
]
}
]
}
AccountController.getUserProfile
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Responses
Response samples
- 200
Content type
application/json
{- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "platform": "string",
- "userName": "string"
}
AccountController.addWalletAddress
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Request Body schema: application/json
chainId | string |
address required | string |
message required | string |
signedMessage required | string |
Responses
Request samples
- Payload
Content type
application/json
{- "chainId": "string",
- "address": "string",
- "message": "string",
- "signedMessage": "string"
}
Response samples
- 200
Content type
application/json
{- "address": "string",
- "accounts": [
- {
- "cashtag": "string",
- "tokenAddress": "string",
- "chainId": "string",
- "balance": "string"
}
]
}
AccountController.getWallets
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
query Parameters
limit | number |
paginationToken | string |
Responses
Response samples
- 200
- 400
- 401
- 403
Content type
application/json
{- "paginationToken": "string",
- "items": [
- {
- "address": "string",
- "accounts": [
- {
- "cashtag": "string",
- "tokenAddress": "string",
- "chainId": "string",
- "balance": "string"
}
]
}
]
}
KChannelAccountController.setupCustodialPaymentChannel
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Request Body schema: application/json
Channel addresses
deposit_address | string |
sender_address_list | Array of strings |
Responses
Request samples
- Payload
Content type
application/json
{- "deposit_address": "string",
- "sender_address_list": [
- "string"
]
}
Response samples
- 200
Content type
application/json
{- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "channel_uuid": "string",
- "user_id": "string",
- "definition_version": "string",
- "channel_rating_id": "string",
- "zone_address": "string",
- "owner_address": "string",
- "deposit_address": "string",
- "validator_address": "string",
- "sender_address_list": [
- "string"
], - "device_address_list": [
- "string"
], - "initial_state_hash": "string",
- "signature_list": [
- "string"
], - "encrypted_wallet_private_key": "string",
- "zone_location": {
- "zone_address": "string",
- "zone_public_key": "string",
- "zone_client_endpoint": "string",
- "zone_management_endpoint": "string"
}
}
KChannelAccountController.getPaymentChannelBalance
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Responses
Response samples
- 200
Content type
application/json
{- "address": "string",
- "accounts": [
- {
- "cashtag": "string",
- "tokenAddress": "string",
- "chainId": "string",
- "balance": "string"
}
]
}
KChannelAccountController.createWithdrawal
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Request Body schema: application/json
recipientAddress required | string |
value required | string <BigNumber> |
tokenAddress | string |
chainId | string |
forceOnChain | boolean |
deductFee | boolean |
Responses
Request samples
- Payload
Content type
application/json
{- "recipientAddress": "string",
- "value": "string",
- "tokenAddress": "string",
- "chainId": "string",
- "forceOnChain": true,
- "deductFee": true
}
Response samples
- 200
Content type
application/json
{- "request_uuid": "string",
- "reference_data": "string",
- "value_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "sender_party": {
- "nonce": "string",
- "state_hash": "string",
- "timestamp": "string",
- "channel_definition": {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "channel_uuid": "string",
- "user_id": "string",
- "definition_version": "string",
- "channel_rating_id": "string",
- "zone_address": "string",
- "owner_address": "string",
- "deposit_address": "string",
- "validator_address": "string",
- "sender_address_list": [
- "string"
], - "device_address_list": [
- "string"
], - "initial_state_hash": "string",
- "signature_list": [
- "string"
], - "encrypted_wallet_private_key": "string",
- "zone_location": {
- "zone_address": "string",
- "zone_public_key": "string",
- "zone_client_endpoint": "string",
- "zone_management_endpoint": "string"
}
}, - "fee_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "summary": {
- "request_uuid": "string",
- "channel_uuid": "string",
- "definition_version": "string",
- "client_signer_address": "string",
- "zone_signer_address": "string",
- "final_state_hash": "string",
- "external_tx_reference": "string",
- "recipient_address": "string",
- "peer_last_seen_state_hash": "string",
- "timestamp": "string",
- "value_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "signature_list": [
- "string"
]
}
}, - "recipient_party": {
- "nonce": "string",
- "state_hash": "string",
- "timestamp": "string",
- "channel_definition": {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "channel_uuid": "string",
- "user_id": "string",
- "definition_version": "string",
- "channel_rating_id": "string",
- "zone_address": "string",
- "owner_address": "string",
- "deposit_address": "string",
- "validator_address": "string",
- "sender_address_list": [
- "string"
], - "device_address_list": [
- "string"
], - "initial_state_hash": "string",
- "signature_list": [
- "string"
], - "encrypted_wallet_private_key": "string",
- "zone_location": {
- "zone_address": "string",
- "zone_public_key": "string",
- "zone_client_endpoint": "string",
- "zone_management_endpoint": "string"
}
}, - "fee_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "summary": {
- "request_uuid": "string",
- "channel_uuid": "string",
- "definition_version": "string",
- "client_signer_address": "string",
- "zone_signer_address": "string",
- "final_state_hash": "string",
- "external_tx_reference": "string",
- "recipient_address": "string",
- "peer_last_seen_state_hash": "string",
- "timestamp": "string",
- "value_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "signature_list": [
- "string"
]
}
}, - "signature_list": [
- "string"
], - "metadata": {
- "request_uuid": "string",
- "channel_uuid": "string",
- "definition_version": "string",
- "reversal_nonce": "string",
- "external_tx_reference_list": [
- {
- "value": "string",
- "chain_id": "string"
}
], - "signature_list": [
- "string"
]
}
}
KChannelAccountController.failTransaction
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Request Body schema: application/json
request_uuid | string |
channel_uuid | string |
definition_version | string |
client_signer_address | string |
zone_signer_address | string |
final_state_hash | string |
external_tx_reference | string |
recipient_address | string |
peer_last_seen_state_hash | string |
timestamp | string |
Array of objects (ChannelTransactionValue) | |
signature_list | Array of strings |
Responses
Request samples
- Payload
Content type
application/json
{- "request_uuid": "string",
- "channel_uuid": "string",
- "definition_version": "string",
- "client_signer_address": "string",
- "zone_signer_address": "string",
- "final_state_hash": "string",
- "external_tx_reference": "string",
- "recipient_address": "string",
- "peer_last_seen_state_hash": "string",
- "timestamp": "string",
- "value_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "signature_list": [
- "string"
]
}
Response samples
- 200
Content type
application/json
{- "request_uuid": "string",
- "channel_uuid": "string",
- "definition_version": "string",
- "client_signer_address": "string",
- "zone_signer_address": "string",
- "final_state_hash": "string",
- "external_tx_reference": "string",
- "recipient_address": "string",
- "peer_last_seen_state_hash": "string",
- "timestamp": "string",
- "value_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "signature_list": [
- "string"
]
}
KChannelAccountController.submitTransaction
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Request Body schema: application/json
request_uuid | string |
reference_data | string |
Array of objects (ChannelTransactionValue) | |
object (ChannelTransactionParty) | |
object (ChannelTransactionParty) | |
signature_list | Array of strings |
object (ChannelTransactionMetadata) |
Responses
Request samples
- Payload
Content type
application/json
{- "request_uuid": "string",
- "reference_data": "string",
- "value_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "sender_party": {
- "nonce": "string",
- "state_hash": "string",
- "timestamp": "string",
- "channel_definition": {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "channel_uuid": "string",
- "user_id": "string",
- "definition_version": "string",
- "channel_rating_id": "string",
- "zone_address": "string",
- "owner_address": "string",
- "deposit_address": "string",
- "validator_address": "string",
- "sender_address_list": [
- "string"
], - "device_address_list": [
- "string"
], - "initial_state_hash": "string",
- "signature_list": [
- "string"
], - "encrypted_wallet_private_key": "string",
- "zone_location": {
- "zone_address": "string",
- "zone_public_key": "string",
- "zone_client_endpoint": "string",
- "zone_management_endpoint": "string"
}
}, - "fee_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "summary": {
- "request_uuid": "string",
- "channel_uuid": "string",
- "definition_version": "string",
- "client_signer_address": "string",
- "zone_signer_address": "string",
- "final_state_hash": "string",
- "external_tx_reference": "string",
- "recipient_address": "string",
- "peer_last_seen_state_hash": "string",
- "timestamp": "string",
- "value_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "signature_list": [
- "string"
]
}
}, - "recipient_party": {
- "nonce": "string",
- "state_hash": "string",
- "timestamp": "string",
- "channel_definition": {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "channel_uuid": "string",
- "user_id": "string",
- "definition_version": "string",
- "channel_rating_id": "string",
- "zone_address": "string",
- "owner_address": "string",
- "deposit_address": "string",
- "validator_address": "string",
- "sender_address_list": [
- "string"
], - "device_address_list": [
- "string"
], - "initial_state_hash": "string",
- "signature_list": [
- "string"
], - "encrypted_wallet_private_key": "string",
- "zone_location": {
- "zone_address": "string",
- "zone_public_key": "string",
- "zone_client_endpoint": "string",
- "zone_management_endpoint": "string"
}
}, - "fee_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "summary": {
- "request_uuid": "string",
- "channel_uuid": "string",
- "definition_version": "string",
- "client_signer_address": "string",
- "zone_signer_address": "string",
- "final_state_hash": "string",
- "external_tx_reference": "string",
- "recipient_address": "string",
- "peer_last_seen_state_hash": "string",
- "timestamp": "string",
- "value_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "signature_list": [
- "string"
]
}
}, - "signature_list": [
- "string"
], - "metadata": {
- "request_uuid": "string",
- "channel_uuid": "string",
- "definition_version": "string",
- "reversal_nonce": "string",
- "external_tx_reference_list": [
- {
- "value": "string",
- "chain_id": "string"
}
], - "signature_list": [
- "string"
]
}
}
Response samples
- 200
Content type
application/json
{- "status": "string"
}
KChannelAccountController.submitWithdrawal
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Request Body schema: application/json
request_uuid | string |
reference_data | string |
Array of objects (ChannelTransactionValue) | |
object (ChannelTransactionParty) | |
object (ChannelTransactionParty) | |
signature_list | Array of strings |
object (ChannelTransactionMetadata) |
Responses
Request samples
- Payload
Content type
application/json
{- "request_uuid": "string",
- "reference_data": "string",
- "value_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "sender_party": {
- "nonce": "string",
- "state_hash": "string",
- "timestamp": "string",
- "channel_definition": {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "channel_uuid": "string",
- "user_id": "string",
- "definition_version": "string",
- "channel_rating_id": "string",
- "zone_address": "string",
- "owner_address": "string",
- "deposit_address": "string",
- "validator_address": "string",
- "sender_address_list": [
- "string"
], - "device_address_list": [
- "string"
], - "initial_state_hash": "string",
- "signature_list": [
- "string"
], - "encrypted_wallet_private_key": "string",
- "zone_location": {
- "zone_address": "string",
- "zone_public_key": "string",
- "zone_client_endpoint": "string",
- "zone_management_endpoint": "string"
}
}, - "fee_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "summary": {
- "request_uuid": "string",
- "channel_uuid": "string",
- "definition_version": "string",
- "client_signer_address": "string",
- "zone_signer_address": "string",
- "final_state_hash": "string",
- "external_tx_reference": "string",
- "recipient_address": "string",
- "peer_last_seen_state_hash": "string",
- "timestamp": "string",
- "value_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "signature_list": [
- "string"
]
}
}, - "recipient_party": {
- "nonce": "string",
- "state_hash": "string",
- "timestamp": "string",
- "channel_definition": {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "channel_uuid": "string",
- "user_id": "string",
- "definition_version": "string",
- "channel_rating_id": "string",
- "zone_address": "string",
- "owner_address": "string",
- "deposit_address": "string",
- "validator_address": "string",
- "sender_address_list": [
- "string"
], - "device_address_list": [
- "string"
], - "initial_state_hash": "string",
- "signature_list": [
- "string"
], - "encrypted_wallet_private_key": "string",
- "zone_location": {
- "zone_address": "string",
- "zone_public_key": "string",
- "zone_client_endpoint": "string",
- "zone_management_endpoint": "string"
}
}, - "fee_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "summary": {
- "request_uuid": "string",
- "channel_uuid": "string",
- "definition_version": "string",
- "client_signer_address": "string",
- "zone_signer_address": "string",
- "final_state_hash": "string",
- "external_tx_reference": "string",
- "recipient_address": "string",
- "peer_last_seen_state_hash": "string",
- "timestamp": "string",
- "value_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "kind": "string",
- "chain_id": "string"
}
], - "signature_list": [
- "string"
]
}
}, - "signature_list": [
- "string"
], - "metadata": {
- "request_uuid": "string",
- "channel_uuid": "string",
- "definition_version": "string",
- "reversal_nonce": "string",
- "external_tx_reference_list": [
- {
- "value": "string",
- "chain_id": "string"
}
], - "signature_list": [
- "string"
]
}
}
Response samples
- 200
Content type
application/json
{- "status": "string",
- "transactionId": "string"
}
KChannelAccountController.getPaymentChannelTokens
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Responses
Response samples
- 200
Content type
application/json
[- {
- "erc20_address": "string",
- "chain_id": "string",
- "deployment_address": "string",
- "name": "string",
- "decimals": "string",
- "symbol": "string"
}
]
KChannelAccountController.transferTo
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Request Body schema: application/json
from | string |
to required | Array of strings |
value required | string <BigNumber> |
tokenAddress | string |
chainId | string |
Responses
Request samples
- Payload
Content type
application/json
{- "from": "string",
- "to": [
- "string"
], - "value": "string",
- "tokenAddress": "string",
- "chainId": "string"
}
Response samples
- 200
Content type
application/json
{- "statuses": [
- {
- "status": "string",
- "transactionId": "string",
- "error": { },
- "recipientUserId": "string"
}
]
}
KChannelAccountController.withdraw
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Request Body schema: application/json
recipientAddress required | string |
value required | string <BigNumber> |
tokenAddress | string |
chainId | string |
forceOnChain | boolean |
deductFee | boolean |
Responses
Request samples
- Payload
Content type
application/json
{- "recipientAddress": "string",
- "value": "string",
- "tokenAddress": "string",
- "chainId": "string",
- "forceOnChain": true,
- "deductFee": true
}
Response samples
- 200
Content type
application/json
{- "status": "string"
}
KChannelAccountController.getPaymentChannelInfo
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
query Parameters
auth_token | string |
Responses
Response samples
- 200
Content type
application/json
{- "info": {
- "channel_state": {
- "nonce": "string",
- "channel_asset_list": [
- {
- "smart_contract": "string",
- "value": "string",
- "chain_id": "string"
}
]
}, - "channel_state_hash": "string",
- "channel_status": "string"
}, - "definition": {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "channel_uuid": "string",
- "user_id": "string",
- "definition_version": "string",
- "channel_rating_id": "string",
- "zone_address": "string",
- "owner_address": "string",
- "deposit_address": "string",
- "validator_address": "string",
- "sender_address_list": [
- "string"
], - "device_address_list": [
- "string"
], - "initial_state_hash": "string",
- "signature_list": [
- "string"
], - "encrypted_wallet_private_key": "string",
- "zone_location": {
- "zone_address": "string",
- "zone_public_key": "string",
- "zone_client_endpoint": "string",
- "zone_management_endpoint": "string"
}
}, - "smartContract": "string"
}
KChannelAccountController.setupPaymentWallet
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Responses
Response samples
- 200
Content type
application/json
{- "paymentWallet": {
- "address": "string",
- "accounts": [
- {
- "cashtag": "string",
- "tokenAddress": "string",
- "chainId": "string",
- "balance": "string"
}
]
}, - "webhookHeaders": {
- "X-Webhook-URL": "string",
- "X-Webhook-ID": "string",
- "X-Webhook-Data": "string",
- "X-Webhook-Authorization": "string"
}
}
AssetOwnershipController.getAssets
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
account required | string |
query Parameters
assets | Array of strings |
Responses
Response samples
- 200
Content type
application/json
[- {
- "asset": "string",
- "balance": "string",
- "tokens": [
- {
- "id": "string",
- "balance": "string",
- "uri": "string",
- "metadata": { }
}
]
}
]
AssetOwnershipController.verifyOwnership
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
token required | string |
Responses
Response samples
- 200
Content type
application/json
{- "assets": [
- {
- "asset": "string",
- "owner": true
}
], - "signature": "string",
- "claim": {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "userId": "string",
- "socialId": "string",
- "openseaUrl": "string",
- "mediaUrl": "string",
- "account": "string",
- "assets": [
- "string"
]
}
}
AssetOwnershipController.generateJWT
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
query Parameters
format | string Enum: "jwt" "ae" |
Request Body schema: application/json
classifier | string |
classifierGroup | string |
userId | string |
socialId | string |
openseaUrl | string |
mediaUrl | string |
account | string |
assets | Array of strings |
Responses
Request samples
- Payload
Content type
application/json
{- "classifier": "string",
- "classifierGroup": "string",
- "userId": "string",
- "socialId": "string",
- "openseaUrl": "string",
- "mediaUrl": "string",
- "account": "string",
- "assets": [
- "string"
]
}
Response samples
- 200
Content type
application/json
{- "token": "string",
- "slug": "string",
- "url": "string"
}
NftDropController.claimNFT
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Request Body schema: application/json
toAddress required | string The address to receive the NFT |
waitForConfirmations | number Number of confirmations to wait for the transaction |
timeout | number Number of seconds to wait before timeout |
Responses
Request samples
- Payload
Content type
application/json
{- "toAddress": "string",
- "waitForConfirmations": 0,
- "timeout": 0
}
Response samples
- 200
Content type
application/json
{- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "userId": "string",
- "address": "string",
- "transactionHash": "string",
- "tokenId": "string",
- "tokenUri": "string",
- "status": "string",
- "error": { },
- "urls": {
- "transaction": "string",
- "token": "string",
- "tokenUri": "string",
- "opensea": "string"
}
}
NftDropController.getUserInfo
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Responses
Response samples
- 200
Content type
application/json
{- "eligible": true,
- "claimedDate": "string",
- "cutoffDate": "string",
- "member": { },
- "wallets": [
- {
- "communityId": "string",
- "address": "string",
- "community": {
- "name": "string",
- "platform": "string",
- "iconURL": "string"
}
}
], - "claimedNfts": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "userId": "string",
- "address": "string",
- "transactionHash": "string",
- "tokenId": "string",
- "tokenUri": "string",
- "status": "string",
- "error": { },
- "urls": {
- "transaction": "string",
- "token": "string",
- "tokenUri": "string",
- "opensea": "string"
}
}
]
}
MiniAppController.installMiniApp
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
communityId required | string |
appId required | string |
Responses
Response samples
- 200
Content type
application/json
{- "appId": "string",
- "developer": "string",
- "name": "string",
- "shortName": "string",
- "supportedEnvs": [
- "string"
], - "releasedDate": 0,
- "version": {
- "name": "string",
- "changelog": "string"
}, - "keywords": [
- "string"
], - "tags": [
- "string"
], - "category": "string",
- "website": "string",
- "shortDescription": "string",
- "description": "string",
- "thumbnails": [
- { }
], - "icons": [
- { }
], - "platforms": [
- "string"
], - "type": "string",
- "price": 0,
- "subscribedEvents": [
- "string"
], - "webhookUrl": "string"
}
MiniAppController.getMiniAppsForCommunity
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
communityId required | string |
query Parameters
installedOnly | boolean |
Responses
Response samples
- 200
Content type
application/json
{- "appId": "string",
- "developer": "string",
- "name": "string",
- "shortName": "string",
- "supportedEnvs": [
- "string"
], - "releasedDate": 0,
- "version": {
- "name": "string",
- "changelog": "string"
}, - "keywords": [
- "string"
], - "tags": [
- "string"
], - "category": "string",
- "website": "string",
- "shortDescription": "string",
- "description": "string",
- "thumbnails": [
- { }
], - "icons": [
- { }
], - "platforms": [
- "string"
], - "type": "string",
- "price": 0,
- "subscribedEvents": [
- "string"
], - "webhookUrl": "string"
}
CommunityController.getStats
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
id required | string |
Responses
Response samples
- 200
Content type
application/json
{- "tokenPriceUsd": 0,
- "memberCount": 0,
- "cashtagTweetsInLastDay": 0,
- "cashtagTweetsDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0,
- "myMessageCount": 0,
- "gripStrength": 0,
- "cashtagTweetsPlusMessagesPerDay": 0,
- "dailyVolume": 0
}
CommunityController.getGuildTGRInfo
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
communityId required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
Content type
application/json
{- "paginationToken": "string",
- "items": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "roleId": "string",
- "minToken": "string",
- "maxToken": "string",
- "chainId": 0,
- "tokenSymbol": "string",
- "tokenId": "string",
- "collectionName": "string",
- "eventId": "string",
- "platform": "string",
- "contractAddress": "string",
- "type": "string",
- "scheme": "string",
- "query": "string",
- "variables": { },
- "asset": "string",
- "requiresMetadata": true,
- "version": "string"
}
]
}
CommunityController.replaceTpc
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
id required | string |
tpcId required | string |
Request Body schema: application/json
id | string |
createdTime | string |
sk | string |
classifier | string |
classifierGroup | string |
name | string |
description | string |
roleId | string |
minToken | string <BigDecimal> |
maxToken | string <BigDecimal> |
chainId | number |
tokenSymbol | string |
tokenId | string |
collectionName | string |
eventId | string |
platform | string |
contractAddress | string |
type | string |
scheme | string |
query | string |
object | |
asset | string <CAIPAsset> |
requiresMetadata | boolean |
version | string |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "string",
- "createdTime": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "roleId": "string",
- "minToken": "string",
- "maxToken": "string",
- "chainId": 0,
- "tokenSymbol": "string",
- "tokenId": "string",
- "collectionName": "string",
- "eventId": "string",
- "platform": "string",
- "contractAddress": "string",
- "type": "string",
- "scheme": "string",
- "query": "string",
- "variables": { },
- "asset": "string",
- "requiresMetadata": true,
- "version": "string"
}
Response samples
- 400
- 401
- 403
Content type
application/json
{- "error": {
- "name": "string",
- "message": "string",
- "statusCode": 0,
- "details": { },
- "stack": "string"
}
}
CommunityController.deleteTpc
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
id required | string |
tpcId required | string |
Responses
Response samples
- 400
- 401
- 403
Content type
application/json
{- "error": {
- "name": "string",
- "message": "string",
- "statusCode": 0,
- "details": { },
- "stack": "string"
}
}
CommunityController.createTpc
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
id required | string |
Request Body schema: application/json
createdTime | string |
classifierGroup | string |
name | string |
description | string |
roleId | string |
minToken | string <BigDecimal> |
maxToken | string <BigDecimal> |
chainId | number |
tokenSymbol | string |
tokenId | string |
collectionName | string |
eventId | string |
platform | string |
contractAddress | string |
type | string |
scheme | string |
query | string |
object | |
asset | string <CAIPAsset> |
requiresMetadata | boolean |
version | string |
Responses
Request samples
- Payload
Content type
application/json
{- "createdTime": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "roleId": "string",
- "minToken": "string",
- "maxToken": "string",
- "chainId": 0,
- "tokenSymbol": "string",
- "tokenId": "string",
- "collectionName": "string",
- "eventId": "string",
- "platform": "string",
- "contractAddress": "string",
- "type": "string",
- "scheme": "string",
- "query": "string",
- "variables": { },
- "asset": "string",
- "requiresMetadata": true,
- "version": "string"
}
Response samples
- 200
Content type
application/json
{- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "roleId": "string",
- "minToken": "string",
- "maxToken": "string",
- "chainId": 0,
- "tokenSymbol": "string",
- "tokenId": "string",
- "collectionName": "string",
- "eventId": "string",
- "platform": "string",
- "contractAddress": "string",
- "type": "string",
- "scheme": "string",
- "query": "string",
- "variables": { },
- "asset": "string",
- "requiresMetadata": true,
- "version": "string"
}
CommunityController.findTpcs
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
id required | string |
query Parameters
limit | number |
paginationToken | string |
Responses
Response samples
- 200
- 400
- 401
- 403
Content type
application/json
{- "paginationToken": "string",
- "items": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "roleId": "string",
- "minToken": "string",
- "maxToken": "string",
- "chainId": 0,
- "tokenSymbol": "string",
- "tokenId": "string",
- "collectionName": "string",
- "eventId": "string",
- "platform": "string",
- "contractAddress": "string",
- "type": "string",
- "scheme": "string",
- "query": "string",
- "variables": { },
- "asset": "string",
- "requiresMetadata": true,
- "version": "string"
}
]
}
CommunityController.replaceById
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
id required | string |
Request Body schema: application/json
object
Responses
Request samples
- Payload
Content type
application/json
{ }
Response samples
- 400
- 401
- 403
Content type
application/json
{- "error": {
- "name": "string",
- "message": "string",
- "statusCode": 0,
- "details": { },
- "stack": "string"
}
}
CommunityController.updateById
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
id required | string |
Request Body schema: application/json
id | string |
createdTime | string |
pk | string |
sk | string |
classifier | string |
classifierGroup | string |
name | string |
status | string |
communityId | string |
ownerId | string |
adminUserId | string |
platform | string |
link | string |
serverImage | string |
welcomeMessage | string |
network | string |
cashtag | string |
tokenAddress | string |
iconURL | string |
inviteLink | string |
Array of objects (Channel) | |
Array of objects (Quest) | |
Array of objects (Drop) | |
object (Stats) | |
Array of objects (TokenPermissionedChat) | |
property name* additional property | any |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "status": "string",
- "communityId": "string",
- "ownerId": "string",
- "adminUserId": "string",
- "platform": "string",
- "link": "string",
- "serverImage": "string",
- "welcomeMessage": "string",
- "network": "string",
- "cashtag": "string",
- "tokenAddress": "string",
- "iconURL": "string",
- "inviteLink": "string",
- "channels": [
- {
- "name": "string",
- "link": "string",
- "tokenAmountToEnter": 0,
- "members": 0,
- "membersInLastDay": 0,
- "membersDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0
}
], - "quests": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "reward": "string",
- "total": 0,
- "remaining": 0,
- "deadline": 0,
- "communityId": "string",
- "tokenAddress": "string",
- "cashtag": "string",
- "tokenSymbol": "string",
- "createdByName": "string",
- "createdById": "string",
- "claimedBy": [
- "string"
], - "claimedByTime": [
- "string"
], - "link": "string",
- "stripePaymentIntent": "string",
- "published": true
}
], - "drops": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "title": "string",
- "reward": "string",
- "total": 0,
- "remaining": 0,
- "deadline": 0,
- "communityId": "string",
- "chainId": "string",
- "tokenAddress": "string",
- "cashtag": "string",
- "tokenSymbol": "string",
- "createdByName": "string",
- "createdById": "string",
- "claimedBy": [
- "string"
], - "claimedByTime": [
- "string"
], - "link": "string"
}
], - "stats": {
- "tokenPriceUsd": 0,
- "memberCount": 0,
- "cashtagTweetsInLastDay": 0,
- "cashtagTweetsDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0,
- "myMessageCount": 0,
- "gripStrength": 0,
- "cashtagTweetsPlusMessagesPerDay": 0,
- "dailyVolume": 0
}, - "tpcs": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "roleId": "string",
- "minToken": "string",
- "maxToken": "string",
- "chainId": 0,
- "tokenSymbol": "string",
- "tokenId": "string",
- "collectionName": "string",
- "eventId": "string",
- "platform": "string",
- "contractAddress": "string",
- "type": "string",
- "scheme": "string",
- "query": "string",
- "variables": { },
- "asset": "string",
- "requiresMetadata": true,
- "version": "string"
}
]
}
Response samples
- 400
- 401
- 403
Content type
application/json
{- "error": {
- "name": "string",
- "message": "string",
- "statusCode": 0,
- "details": { },
- "stack": "string"
}
}
CommunityController.findById
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
id required | string |
query Parameters
include | string |
Responses
Response samples
- 200
Content type
application/json
{- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "status": "string",
- "communityId": "string",
- "ownerId": "string",
- "adminUserId": "string",
- "platform": "string",
- "link": "string",
- "serverImage": "string",
- "welcomeMessage": "string",
- "network": "string",
- "cashtag": "string",
- "tokenAddress": "string",
- "iconURL": "string",
- "inviteLink": "string",
- "channels": [
- {
- "name": "string",
- "link": "string",
- "tokenAmountToEnter": 0,
- "members": 0,
- "membersInLastDay": 0,
- "membersDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0
}
], - "quests": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "reward": "string",
- "total": 0,
- "remaining": 0,
- "deadline": 0,
- "communityId": "string",
- "tokenAddress": "string",
- "cashtag": "string",
- "tokenSymbol": "string",
- "createdByName": "string",
- "createdById": "string",
- "claimedBy": [
- "string"
], - "claimedByTime": [
- "string"
], - "link": "string",
- "stripePaymentIntent": "string",
- "published": true
}
], - "drops": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "title": "string",
- "reward": "string",
- "total": 0,
- "remaining": 0,
- "deadline": 0,
- "communityId": "string",
- "chainId": "string",
- "tokenAddress": "string",
- "cashtag": "string",
- "tokenSymbol": "string",
- "createdByName": "string",
- "createdById": "string",
- "claimedBy": [
- "string"
], - "claimedByTime": [
- "string"
], - "link": "string"
}
], - "stats": {
- "tokenPriceUsd": 0,
- "memberCount": 0,
- "cashtagTweetsInLastDay": 0,
- "cashtagTweetsDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0,
- "myMessageCount": 0,
- "gripStrength": 0,
- "cashtagTweetsPlusMessagesPerDay": 0,
- "dailyVolume": 0
}, - "tpcs": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "roleId": "string",
- "minToken": "string",
- "maxToken": "string",
- "chainId": 0,
- "tokenSymbol": "string",
- "tokenId": "string",
- "collectionName": "string",
- "eventId": "string",
- "platform": "string",
- "contractAddress": "string",
- "type": "string",
- "scheme": "string",
- "query": "string",
- "variables": { },
- "asset": "string",
- "requiresMetadata": true,
- "version": "string"
}
]
}
CommunityController.create
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
Request Body schema: application/json
createdTime | string |
pk | string |
sk | string |
classifier | string |
classifierGroup | string |
name | string |
status | string |
communityId | string |
ownerId | string |
adminUserId | string |
platform | string |
serverImage | string |
welcomeMessage | string |
network | string |
cashtag | string |
tokenAddress | string |
iconURL | string |
inviteLink | string |
Array of objects (Channel) | |
Array of objects (Quest) | |
Array of objects (Drop) | |
object (Stats) | |
Array of objects (TokenPermissionedChat) | |
property name* additional property | any |
Responses
Request samples
- Payload
Content type
application/json
{- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "status": "string",
- "communityId": "string",
- "ownerId": "string",
- "adminUserId": "string",
- "platform": "string",
- "serverImage": "string",
- "welcomeMessage": "string",
- "network": "string",
- "cashtag": "string",
- "tokenAddress": "string",
- "iconURL": "string",
- "inviteLink": "string",
- "channels": [
- {
- "name": "string",
- "link": "string",
- "tokenAmountToEnter": 0,
- "members": 0,
- "membersInLastDay": 0,
- "membersDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0
}
], - "quests": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "reward": "string",
- "total": 0,
- "remaining": 0,
- "deadline": 0,
- "communityId": "string",
- "tokenAddress": "string",
- "cashtag": "string",
- "tokenSymbol": "string",
- "createdByName": "string",
- "createdById": "string",
- "claimedBy": [
- "string"
], - "claimedByTime": [
- "string"
], - "link": "string",
- "stripePaymentIntent": "string",
- "published": true
}
], - "drops": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "title": "string",
- "reward": "string",
- "total": 0,
- "remaining": 0,
- "deadline": 0,
- "communityId": "string",
- "chainId": "string",
- "tokenAddress": "string",
- "cashtag": "string",
- "tokenSymbol": "string",
- "createdByName": "string",
- "createdById": "string",
- "claimedBy": [
- "string"
], - "claimedByTime": [
- "string"
], - "link": "string"
}
], - "stats": {
- "tokenPriceUsd": 0,
- "memberCount": 0,
- "cashtagTweetsInLastDay": 0,
- "cashtagTweetsDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0,
- "myMessageCount": 0,
- "gripStrength": 0,
- "cashtagTweetsPlusMessagesPerDay": 0,
- "dailyVolume": 0
}, - "tpcs": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "roleId": "string",
- "minToken": "string",
- "maxToken": "string",
- "chainId": 0,
- "tokenSymbol": "string",
- "tokenId": "string",
- "collectionName": "string",
- "eventId": "string",
- "platform": "string",
- "contractAddress": "string",
- "type": "string",
- "scheme": "string",
- "query": "string",
- "variables": { },
- "asset": "string",
- "requiresMetadata": true,
- "version": "string"
}
]
}
Response samples
- 200
- 400
- 401
- 403
Content type
application/json
{- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "status": "string",
- "communityId": "string",
- "ownerId": "string",
- "adminUserId": "string",
- "platform": "string",
- "link": "string",
- "serverImage": "string",
- "welcomeMessage": "string",
- "network": "string",
- "cashtag": "string",
- "tokenAddress": "string",
- "iconURL": "string",
- "inviteLink": "string",
- "channels": [
- {
- "name": "string",
- "link": "string",
- "tokenAmountToEnter": 0,
- "members": 0,
- "membersInLastDay": 0,
- "membersDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0
}
], - "quests": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "reward": "string",
- "total": 0,
- "remaining": 0,
- "deadline": 0,
- "communityId": "string",
- "tokenAddress": "string",
- "cashtag": "string",
- "tokenSymbol": "string",
- "createdByName": "string",
- "createdById": "string",
- "claimedBy": [
- "string"
], - "claimedByTime": [
- "string"
], - "link": "string",
- "stripePaymentIntent": "string",
- "published": true
}
], - "drops": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "title": "string",
- "reward": "string",
- "total": 0,
- "remaining": 0,
- "deadline": 0,
- "communityId": "string",
- "chainId": "string",
- "tokenAddress": "string",
- "cashtag": "string",
- "tokenSymbol": "string",
- "createdByName": "string",
- "createdById": "string",
- "claimedBy": [
- "string"
], - "claimedByTime": [
- "string"
], - "link": "string"
}
], - "stats": {
- "tokenPriceUsd": 0,
- "memberCount": 0,
- "cashtagTweetsInLastDay": 0,
- "cashtagTweetsDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0,
- "myMessageCount": 0,
- "gripStrength": 0,
- "cashtagTweetsPlusMessagesPerDay": 0,
- "dailyVolume": 0
}, - "tpcs": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "roleId": "string",
- "minToken": "string",
- "maxToken": "string",
- "chainId": 0,
- "tokenSymbol": "string",
- "tokenId": "string",
- "collectionName": "string",
- "eventId": "string",
- "platform": "string",
- "contractAddress": "string",
- "type": "string",
- "scheme": "string",
- "query": "string",
- "variables": { },
- "asset": "string",
- "requiresMetadata": true,
- "version": "string"
}
]
}
CommunityController.find
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
query Parameters
limit | number |
paginationToken | string |
include | string |
Responses
Response samples
- 200
- 400
- 401
- 403
Content type
application/json
{- "paginationToken": "string",
- "items": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "status": "string",
- "communityId": "string",
- "ownerId": "string",
- "adminUserId": "string",
- "platform": "string",
- "link": "string",
- "serverImage": "string",
- "welcomeMessage": "string",
- "network": "string",
- "cashtag": "string",
- "tokenAddress": "string",
- "iconURL": "string",
- "inviteLink": "string",
- "channels": [
- {
- "name": "string",
- "link": "string",
- "tokenAmountToEnter": 0,
- "members": 0,
- "membersInLastDay": 0,
- "membersDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0
}
], - "quests": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "reward": "string",
- "total": 0,
- "remaining": 0,
- "deadline": 0,
- "communityId": "string",
- "tokenAddress": "string",
- "cashtag": "string",
- "tokenSymbol": "string",
- "createdByName": "string",
- "createdById": "string",
- "claimedBy": [
- "string"
], - "claimedByTime": [
- "string"
], - "link": "string",
- "stripePaymentIntent": "string",
- "published": true
}
], - "drops": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "title": "string",
- "reward": "string",
- "total": 0,
- "remaining": 0,
- "deadline": 0,
- "communityId": "string",
- "chainId": "string",
- "tokenAddress": "string",
- "cashtag": "string",
- "tokenSymbol": "string",
- "createdByName": "string",
- "createdById": "string",
- "claimedBy": [
- "string"
], - "claimedByTime": [
- "string"
], - "link": "string"
}
], - "stats": {
- "tokenPriceUsd": 0,
- "memberCount": 0,
- "cashtagTweetsInLastDay": 0,
- "cashtagTweetsDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0,
- "myMessageCount": 0,
- "gripStrength": 0,
- "cashtagTweetsPlusMessagesPerDay": 0,
- "dailyVolume": 0
}, - "tpcs": [
- {
- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "name": "string",
- "description": "string",
- "roleId": "string",
- "minToken": "string",
- "maxToken": "string",
- "chainId": 0,
- "tokenSymbol": "string",
- "tokenId": "string",
- "collectionName": "string",
- "eventId": "string",
- "platform": "string",
- "contractAddress": "string",
- "type": "string",
- "scheme": "string",
- "query": "string",
- "variables": { },
- "asset": "string",
- "requiresMetadata": true,
- "version": "string"
}
]
}
]
}
CommunityWalletController.createWallet
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
communityId required | string |
Responses
Response samples
- 200
Content type
application/json
{- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "status": "string",
- "address": "string",
- "ownerAddress": "string",
- "txHash": "string",
- "userId": "string",
- "platform": "string",
- "clTokenBalance": "string",
- "timestamp": 0,
- "communityId": "string"
}
CommunityWalletController.getWalletDetail
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
communityId required | string |
Responses
Response samples
- 200
Content type
application/json
{- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "status": "string",
- "address": "string",
- "ownerAddress": "string",
- "txHash": "string",
- "userId": "string",
- "platform": "string",
- "clTokenBalance": "string",
- "timestamp": 0,
- "communityId": "string"
}
DevRequestController.createClientAppRequest
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
organizationId required | string |
Request Body schema: application/json
description required | string Description of App for which this is requested |
projectUrls required | Array of strings |
icon | string Url of icon for the app |
name required | string Name of the app. |
url | string Application url |
redirectUris | Array of strings |
allowedGrantTypes | Array of strings |
clientType | string oAuth2 client type |
allowedOrigins | Array of strings |
allowedReferrers | Array of strings |
allowedIpAddresses | Array of strings |
allowedScopes | Array of strings |
Responses
Request samples
- Payload
Content type
application/json
{- "description": "string",
- "projectUrls": [
- "string"
], - "icon": "string",
- "name": "string",
- "url": "string",
- "redirectUris": [
- "string"
], - "allowedGrantTypes": [
- "string"
], - "clientType": "string",
- "allowedOrigins": [
- "string"
], - "allowedReferrers": [
- "string"
], - "allowedIpAddresses": [
- "string"
], - "allowedScopes": [
- "string"
]
}
Response samples
- 200
Content type
application/json
{- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "organizationId": "string",
- "createdById": "string",
- "timestamp": 0,
- "description": "string",
- "projectUrls": [
- "string"
], - "icon": "string",
- "name": "string",
- "url": "string",
- "redirectUris": [
- "string"
], - "allowedGrantTypes": [
- "string"
], - "clientType": "string",
- "allowedOrigins": [
- "string"
], - "allowedReferrers": [
- "string"
], - "allowedIpAddresses": [
- "string"
], - "allowedScopes": [
- "string"
]
}
DevRequestController.getClientAppRequests
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
organizationId required | string |
Responses
Response samples
- 200
Content type
application/json
{- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "organizationId": "string",
- "createdById": "string",
- "timestamp": 0,
- "description": "string",
- "projectUrls": [
- "string"
], - "icon": "string",
- "name": "string",
- "url": "string",
- "redirectUris": [
- "string"
], - "allowedGrantTypes": [
- "string"
], - "clientType": "string",
- "allowedOrigins": [
- "string"
], - "allowedReferrers": [
- "string"
], - "allowedIpAddresses": [
- "string"
], - "allowedScopes": [
- "string"
]
}
DevRequestController.createMiniAppRequest
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
organizationId required | string |
Request Body schema: application/json
description required | string Description of App for which this is requested |
projectUrls required | Array of strings |
icon | string Url of icon for the app |
name required | string Name of the app. |
type | string Type as free, paid or subscription based |
platforms | Array of strings |
thumbnails | Array of objects |
category | string Category of the Mini App it can be bot_command or cc_extension. |
keywords | Array of strings |
Responses
Request samples
- Payload
Content type
application/json
{- "description": "string",
- "projectUrls": [
- "string"
], - "icon": "string",
- "name": "string",
- "type": "string",
- "platforms": [
- "string"
], - "thumbnails": [
- { }
], - "category": "string",
- "keywords": [
- "string"
]
}
Response samples
- 200
Content type
application/json
{- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "organizationId": "string",
- "createdById": "string",
- "timestamp": 0,
- "description": "string",
- "projectUrls": [
- "string"
], - "icon": "string",
- "name": "string",
- "type": "string",
- "platforms": [
- "string"
], - "thumbnails": [
- { }
], - "category": "string",
- "keywords": [
- "string"
]
}
DevRequestController.getMiniAppRequests
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
organizationId required | string |
Responses
Response samples
- 200
Content type
application/json
{- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "organizationId": "string",
- "createdById": "string",
- "timestamp": 0,
- "description": "string",
- "projectUrls": [
- "string"
], - "icon": "string",
- "name": "string",
- "type": "string",
- "platforms": [
- "string"
], - "thumbnails": [
- { }
], - "category": "string",
- "keywords": [
- "string"
]
}
OrganizationWalletController.createWallet
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
orgId required | string |
Responses
Response samples
- 200
Content type
application/json
{- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "status": "string",
- "address": "string",
- "ownerAddress": "string",
- "txHash": "string",
- "userId": "string",
- "platform": "string",
- "clTokenBalance": "string",
- "organizationId": "string"
}
OrganizationWalletController.getWalletDetail
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
orgId required | string |
Responses
Response samples
- 200
Content type
application/json
{- "id": "string",
- "createdTime": "string",
- "pk": "string",
- "sk": "string",
- "classifier": "string",
- "classifierGroup": "string",
- "status": "string",
- "address": "string",
- "ownerAddress": "string",
- "txHash": "string",
- "userId": "string",
- "platform": "string",
- "clTokenBalance": "string",
- "organizationId": "string"
}
OrganizationController.getOrganization
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
orgId required | string |
Responses
Response samples
- 200
Content type
application/json
{- "pk": "string",
- "sk": "string",
- "name": "string",
- "createdTime": 0,
- "classifier": "string",
- "userId": "string"
}
DiscordBotController.checkBotConfig
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
communityId required | string |
Responses
Response samples
- 200
Content type
application/json
{- "status": "string",
- "errors": [
- {
- "code": "string",
- "action": "string",
- "link": "string",
- "details": null
}
]
}
DiscordIntegrationController.getDiscordGuildMemberCount
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
guildId required | string |
Responses
Response samples
- 200
Content type
application/json
{- "id": "string",
- "memberCount": 0,
- "channels": [
- {
- "id": "string",
- "name": "string",
- "type": "string"
}
], - "roles": [
- {
- "id": "string",
- "name": "string",
- "color": 0
}
]
}
DiscordIntegrationController.createDiscordRole
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
guildId required | string |
Request Body schema: application/json
name required | string |
color | string |
hoist | boolean |
position | number |
mentionable | boolean |
permissions | number |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "color": "string",
- "hoist": true,
- "position": 0,
- "mentionable": true,
- "permissions": 0
}
DiscordIntegrationController.getDiscordGuild
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
guildId required | string |
Responses
Response samples
- 200
Content type
application/json
{- "id": "string",
- "memberCount": 0,
- "channels": [
- {
- "id": "string",
- "name": "string",
- "type": "string"
}
], - "roles": [
- {
- "id": "string",
- "name": "string",
- "color": 0
}
]
}
DiscordIntegrationController.sendDiscordMessage
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
guildId required | string |
channelId required | string |
Request Body schema: application/json
object
Responses
Request samples
- Payload
Content type
application/json
{ }
Response samples
- 200
Content type
application/json
null
DiscordIntegrationController.findChannels
Authorizations:
(apiKeyauthenticatedEncryptionethereumcollabLandOAuth2)
path Parameters
id required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
Content type
application/json
{- "paginationToken": "string",
- "items": [
- {
- "name": "string",
- "link": "string",
- "tokenAmountToEnter": 0,
- "members": 0,
- "membersInLastDay": 0,
- "membersDailyGrowth": 0,
- "messagesInLastDay": 0,
- "messagesAllTime": 0,
- "messagesDailyGrowth": 0
}
]
}