Get all API keys for the current user
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 100 ] Default: 100 PaginationLimit |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "expiration": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "last_used": null,
- "name": "string",
- "permissions": [
- "string"
]
}
], - "total_results": 0
}
Create a new API key
Authorizations:
Request Body schema: application/json
name required | string SafeString |
permissions | Array of strings or null Default: null |
Responses
Request samples
- Payload
{- "name": "string",
- "permissions": null
}
Response samples
- 201
{- "expiration": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": null,
- "last_used": null,
- "name": "string",
- "permissions": [
- "string"
]
}
Response samples
- 200
{- "organization": {
- "auth0_id": null,
- "billing_enabled": true,
- "config": null,
- "default_payment_method": "CRYPTO",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "is_enabled": true,
- "mfa_required": true,
- "name": "string",
- "network_ids": [
- 0
], - "stripe_connect_types": [
- "STANDARD"
]
}, - "permissions": [
- "string"
], - "user": {
- "active": true,
- "address": null,
- "email": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "last_seen": null,
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9"
}
}
Get all collections
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 100 ] Default: 100 PaginationLimit |
name | string Default: null SafeString |
contract_address | string Default: null ChecksumAddress |
token_type | string Default: null Enum: "ERC721" "ERC1155" null |
network_id | integer <int32> Default: null |
order_by | string Default: "NAME" Enum: "NAME" null |
testnet | boolean Default: null |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "base_uri": null,
- "default_item_type_id": null,
- "deployment": null,
- "description": null,
- "editable_metadata": true,
- "external_link": null,
- "functions_enabled": true,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "image_url": null,
- "is_public": true,
- "media": null,
- "name": "string",
- "preview_metadata": null,
- "reveal_hidden": true,
- "reveal_strategy": "INSTANT",
- "royalty_info": null
}
], - "total_results": 0
}
Create a new collection
Authorizations:
Request Body schema: application/json
default_item_type_id | string or null <uuid> Default: null |
object or null Default: null | |
description | string or null Default: null SafeString |
editable_metadata | boolean Default: false |
external_link | string or null Default: null SafeString |
image_url | string or null Default: null SafeString |
is_public | boolean Default: true |
object or null Default: null | |
name required | string SafeString |
object or null Default: null | |
reveal_strategy | string or null Default: null Enum: "INSTANT" "DELAYED" null |
Responses
Request samples
- Payload
{- "default_item_type_id": null,
- "deployment_request": null,
- "description": null,
- "editable_metadata": false,
- "external_link": null,
- "image_url": null,
- "is_public": true,
- "media": null,
- "name": "string",
- "preview_metadata": null,
- "reveal_strategy": "INSTANT"
}
Response samples
- 201
{- "base_uri": null,
- "default_item_type_id": null,
- "deployment": null,
- "description": null,
- "editable_metadata": true,
- "external_link": null,
- "functions_enabled": true,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "image_url": null,
- "is_public": true,
- "media": null,
- "name": "string",
- "preview_metadata": null,
- "reveal_hidden": true,
- "reveal_strategy": "INSTANT",
- "royalty_info": null
}
Get a collection by id
Authorizations:
path Parameters
collection_id required | string <uuid> |
Responses
Response samples
- 200
{- "base_uri": null,
- "default_item_type_id": null,
- "deployment": null,
- "description": null,
- "editable_metadata": true,
- "external_link": null,
- "functions_enabled": true,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "image_url": null,
- "is_public": true,
- "media": null,
- "name": "string",
- "preview_metadata": null,
- "reveal_hidden": true,
- "reveal_strategy": "INSTANT",
- "royalty_info": null
}
Edit a collection
This is a partial update, only attributes present will be updated.
Authorizations:
path Parameters
collection_id required | string <uuid> |
Request Body schema: application/json
default_item_type_id | string or null <uuid> Default: null |
description | string or null Default: null SafeString |
editable_metadata | boolean or null Default: null |
external_link | string or null Default: null SafeString |
functions_enabled | boolean Default: false |
image_url | string or null Default: null SafeString |
is_public | boolean or null Default: null |
object or null Default: null | |
name | string or null Default: null SafeString |
object or null Default: null | |
reveal_hidden | boolean or null Default: null |
object or null Default: null |
Responses
Request samples
- Payload
{- "default_item_type_id": null,
- "description": null,
- "editable_metadata": null,
- "external_link": null,
- "functions_enabled": false,
- "image_url": null,
- "is_public": null,
- "media": null,
- "name": null,
- "preview_metadata": null,
- "reveal_hidden": null,
- "royalty_info": null
}
Response samples
- 200
{- "base_uri": null,
- "default_item_type_id": null,
- "deployment": null,
- "description": null,
- "editable_metadata": true,
- "external_link": null,
- "functions_enabled": true,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "image_url": null,
- "is_public": true,
- "media": null,
- "name": "string",
- "preview_metadata": null,
- "reveal_hidden": true,
- "reveal_strategy": "INSTANT",
- "royalty_info": null
}
Submit a request to deploy a contract for the collection.
Authorizations:
path Parameters
collection_id required | string <uuid> |
Request Body schema: application/json
object or null Default: null | |
object or null Default: null | |
network_id required | integer or string <Uint256> |
object or null Default: null | |
token_id_assignment_strategy | string or null Default: null Enum: "AUTOMATIC" "MANUAL" "EXTERNAL" null |
type required | string Enum: "PLATFORM" "CUSTOM" "EXTERNAL" |
Responses
Request samples
- Payload
{- "custom": null,
- "external": null,
- "network_id": null,
- "platform": null,
- "token_id_assignment_strategy": "AUTOMATIC",
- "type": "PLATFORM"
}
Response samples
- 200
{- "status": "PENDING",
- "transaction_id": null
}
Get contract functions defined on a collection contract
Authorizations:
path Parameters
collection_id required | string <uuid> |
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 100 ] Default: 100 PaginationLimit |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "abi": {
- "property1": { },
- "property2": { }
}, - "enabled": true,
- "id": "string"
}
], - "total_results": 0
}
Get a contract function by collection and function id
Authorizations:
path Parameters
collection_id required | string <uuid> |
function_id required | string |
Responses
Response samples
- 200
{- "abi": {
- "property1": { },
- "property2": { }
}, - "enabled": true,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
Enable a collection contract function to be callable
Authorizations:
path Parameters
collection_id required | string <uuid> |
function_id required | string |
Request Body schema: application/json
enabled required | boolean |
Responses
Request samples
- Payload
{- "enabled": true
}
Response samples
- 200
{- "contract_func": {
- "abi": {
- "property1": { },
- "property2": { }
}, - "enabled": true,
- "id": "string"
}
}
Read from a contract function by collection and function id
Authorizations:
path Parameters
collection_id required | string <uuid> |
function_id required | string |
Request Body schema: application/json
required | Array of (object or null) or (Array of any or null) or (number or null) or (string or null) or (boolean or null) |
Array One of object or null |
Responses
Request samples
- Payload
{- "arguments": [
- { }
]
}
Response samples
- 201
{- "result": { }
}
Execute a contract function by collection and function id
Authorizations:
path Parameters
collection_id required | string <uuid> |
function_id required | string |
Request Body schema: application/json
required | Array of (object or null) or (Array of any or null) or (number or null) or (string or null) or (boolean or null) |
Array One of object or null |
Responses
Request samples
- Payload
{- "arguments": [
- { }
]
}
Response samples
- 201
{- "transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482"
}
Verify capabilities for a token contract
The contract must have one of the following capabilities:
ERC721
ERC1155
Otherwise, the contract will be rejected.
In order to be able to mint items through the platform, the contract should have one of the following capabilities:
ADMIN_MINT_SINGLE
(for ERC721)MINT_VOUCHER
(for ERC721)ADMIN_MINT_SINGLE_URI
(for ERC721)ADMIN_MINT_MULTIPLE_NO_ID
(for ERC721)ADMIN_MINT_MULTIPLE
(for ERC1155)
Capabilities are determined by the contract's ABI. You can get the known capabilities ABIs from the public capabilities
endpoint.
Authorizations:
Request Body schema: application/json
required | Array of (object or null) or (Array of any or null) or (number or null) or (string or null) or (boolean or null) |
bytecode required | string HexString |
required | Array of (object or null) or (Array of any or null) or (number or null) or (string or null) or (boolean or null) |
token_type | string or null Default: null Enum: "ERC721" "ERC1155" null |
Responses
Request samples
- Payload
{- "abi": [
- { }
], - "bytecode": "string",
- "constructor_args": [
- { }
], - "token_type": "ERC721"
}
Response samples
- 200
{- "capabilities": [
- "ADMIN_MINT_MULTIPLE"
]
}
Get all email claims
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 1000 ] Default: 100 MediumPaginationLimit |
collection_ids | Array of strings <uuid> [ items <uuid > ] Default: null |
item_ids | Array of strings <uuid> [ items <uuid > ] Default: null |
token_ids | Array of strings Default: null |
string Default: null | |
claimed | boolean Default: null |
active | boolean Default: null |
transaction_id | Array of strings <uuid> [ items <uuid > ] Default: null |
order_by | string Default: null Enum: "CREATED_AT" "EXPIRATION" "CLAIMED_AT" null |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "active": true,
- "campaign_id": null,
- "claimed": true,
- "claimed_at": null,
- "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "string",
- "expiration": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
- "last_pin_code_email_sent_at": null,
- "quantity": 0,
- "to_address": null,
- "token_id": "string",
- "transaction_id": null,
- "tx_hash": null,
- "tx_payer": "BUYER",
- "voucher_id": "1b5a607b-e5eb-4b17-80b0-5739c041e81b"
}
], - "total_results": 0
}
Create a new email claim
Authorizations:
Request Body schema: application/json
campaign_id | string or null <uuid> Default: null |
email required | string |
item_id required | string <uuid> |
quantity required | integer or string <Uint256> |
tx_payer | string Default: "SELLER" Enum: "BUYER" "SELLER" null |
type | string or null Default: null Enum: "MINT" "TRANSFER" null |
Responses
Request samples
- Payload
{- "campaign_id": null,
- "email": "string",
- "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
- "quantity": null,
- "tx_payer": "BUYER",
- "type": "MINT"
}
Response samples
- 201
{- "active": true,
- "campaign_id": null,
- "claimed": true,
- "claimed_at": null,
- "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "string",
- "expiration": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
- "last_pin_code_email_sent_at": null,
- "quantity": 0,
- "to_address": null,
- "token_id": "string",
- "transaction_id": null,
- "tx_hash": null,
- "tx_payer": "BUYER",
- "voucher_id": "1b5a607b-e5eb-4b17-80b0-5739c041e81b"
}
Get email claim by id
Authorizations:
path Parameters
claim_id required | string <uuid> |
Responses
Response samples
- 200
{- "active": true,
- "campaign_id": null,
- "claimed": true,
- "claimed_at": null,
- "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "string",
- "expiration": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
- "last_pin_code_email_sent_at": null,
- "quantity": 0,
- "to_address": null,
- "token_id": "string",
- "transaction_id": null,
- "tx_hash": null,
- "tx_payer": "BUYER",
- "voucher_id": "1b5a607b-e5eb-4b17-80b0-5739c041e81b"
}
Resends an email claim with the given id.
Authorizations:
path Parameters
claim_id required | string <uuid> |
Request Body schema: application/json
string or null Default: null |
Responses
Request samples
- Payload
{- "email": null
}
Response samples
- 200
{- "active": true,
- "campaign_id": null,
- "claimed": true,
- "claimed_at": null,
- "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "string",
- "expiration": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
- "last_pin_code_email_sent_at": null,
- "quantity": 0,
- "to_address": null,
- "token_id": "string",
- "transaction_id": null,
- "tx_hash": null,
- "tx_payer": "BUYER",
- "voucher_id": "1b5a607b-e5eb-4b17-80b0-5739c041e81b"
}
Get all email integration configs for an organization
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 100 ] Default: 100 PaginationLimit |
provider | string Default: null SafeString |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "config": {
- "property1": { },
- "property2": { }
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "provider": "MAILGUN"
}
], - "total_results": 0
}
Create a new organization email config
Authorizations:
Request Body schema: application/json
required | object |
provider required | string Enum: "MAILGUN" "AMAZON_SES" "SENDGRID" "CUSTOM_SMTP" |
Responses
Request samples
- Payload
{- "config": {
- "property1": { },
- "property2": { }
}, - "provider": "MAILGUN"
}
Response samples
- 201
{- "config": {
- "property1": { },
- "property2": { }
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "provider": "MAILGUN"
}
Edit an organization email config
Authorizations:
path Parameters
integration_id required | string <uuid> |
Request Body schema: application/json
required | object |
provider required | string Enum: "MAILGUN" "AMAZON_SES" "SENDGRID" "CUSTOM_SMTP" |
Responses
Request samples
- Payload
{- "config": {
- "property1": { },
- "property2": { }
}, - "provider": "MAILGUN"
}
Response samples
- 200
{- "config": {
- "property1": { },
- "property2": { }
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "provider": "MAILGUN"
}
Get all the customized email templates for the organization
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 1000 ] Default: 100 MediumPaginationLimit |
campaign_id | string <uuid> Default: null |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "campaign_id": null,
- "email_from": null,
- "html": "string",
- "origin_type": "PLATFORM_DEFAULT",
- "subject": "string",
- "template_type": "USER_INVITE"
}
], - "total_results": 0
}
Delete a customized email template of the given type
If a campaign id is provided, it searches and deletes the email template for the campaign. If no campaign id provided, it searches and deletes the email template for the DEFAULT campaign. If no customized email template of this type can be found, it raises an exception.
Authorizations:
path Parameters
template_type required | string Enum: "USER_INVITE" "WELCOME" "INSUFFICIENT_BALANCE" "FORGOT_PASSWORD_RESET" "REDEEM_NFT" "CLAIM_PINCODE" "CLAIMED_NFT" "USER_TEST" "CUSTOM" |
Request Body schema: application/json
campaign_id | string or null <uuid> Default: null |
Responses
Request samples
- Payload
{- "campaign_id": null
}
Get a customizable email template of the given type for the organization
If a campaign id is provided, it returns the customized email template of this type from the campaign. If no campaign id provided, it returns the customized email template of this type from the DEFAULT campaign. If no customized templates are found, it returns the platform default for this type.
Authorizations:
path Parameters
template_type required | string Enum: "USER_INVITE" "WELCOME" "INSUFFICIENT_BALANCE" "FORGOT_PASSWORD_RESET" "REDEEM_NFT" "CLAIM_PINCODE" "CLAIMED_NFT" "USER_TEST" "CUSTOM" |
query Parameters
campaign_id | string <uuid> Default: null |
Responses
Response samples
- 200
{- "campaign_id": null,
- "email_from": null,
- "html": "string",
- "origin_type": "PLATFORM_DEFAULT",
- "subject": "string",
- "template_type": "USER_INVITE"
}
Update a customized email template of the given type
If a campaign id is provided, it searches and updates the email template for the campaign. If no campaign id provided, it searches and updates the email template for the DEFAULT campaign. If no customized email template of this type can be found, it raises an exception.
Authorizations:
path Parameters
template_type required | string Enum: "USER_INVITE" "WELCOME" "INSUFFICIENT_BALANCE" "FORGOT_PASSWORD_RESET" "REDEEM_NFT" "CLAIM_PINCODE" "CLAIMED_NFT" "USER_TEST" "CUSTOM" |
Request Body schema: application/json
campaign_id | string or null <uuid> Default: null |
email_from | string or null Default: null SafeString |
html required | string SafeString |
subject required | string SafeString |
Responses
Request samples
- Payload
{- "campaign_id": null,
- "email_from": null,
- "html": "string",
- "subject": "string"
}
Response samples
- 200
{- "campaign_id": null,
- "email_from": null,
- "html": "string",
- "origin_type": "PLATFORM_DEFAULT",
- "subject": "string",
- "template_type": "USER_INVITE"
}
Create a new email template of the given type
If a campaign id is provided, it creates a new email template of this type for the campaign. If no campaign id provided, it creates a new email template of this type for the DEFAULT campaign.
Authorizations:
path Parameters
template_type required | string Enum: "USER_INVITE" "WELCOME" "INSUFFICIENT_BALANCE" "FORGOT_PASSWORD_RESET" "REDEEM_NFT" "CLAIM_PINCODE" "CLAIMED_NFT" "USER_TEST" "CUSTOM" |
Request Body schema: application/json
campaign_id | string or null <uuid> Default: null |
email_from | string or null Default: null SafeString |
html required | string SafeString |
subject required | string SafeString |
Responses
Request samples
- Payload
{- "campaign_id": null,
- "email_from": null,
- "html": "string",
- "subject": "string"
}
Response samples
- 201
{- "campaign_id": null,
- "email_from": null,
- "html": "string",
- "origin_type": "PLATFORM_DEFAULT",
- "subject": "string",
- "template_type": "USER_INVITE"
}
Send a test mail of a given template type
If a campaign id is provided, it sends a test email of this template type from the campaign. If no campaign id provided, it sends a test email of this template type from the DEFAULT campaign. If no customized templates are found, it uses the platform default for this type.
Authorizations:
path Parameters
template_type required | string Enum: "USER_INVITE" "WELCOME" "INSUFFICIENT_BALANCE" "FORGOT_PASSWORD_RESET" "REDEEM_NFT" "CLAIM_PINCODE" "CLAIMED_NFT" "USER_TEST" "CUSTOM" |
Request Body schema: application/json
campaign_id | string or null <uuid> Default: null |
html required | string SafeString |
subject required | string SafeString |
required | Array of objects |
Responses
Request samples
- Payload
{- "campaign_id": null,
- "html": "string",
- "subject": "string",
- "variables": [
- {
- "default_value": null,
- "name": "string",
- "template_type": "USER_INVITE",
- "value": { }
}
]
}
Get all the variables for a specific template
Variables are derived from the platform default. Variables used in the templates should be wrapped in double curly brackets.
Authorizations:
path Parameters
template_type required | string Enum: "USER_INVITE" "WELCOME" "INSUFFICIENT_BALANCE" "FORGOT_PASSWORD_RESET" "REDEEM_NFT" "CLAIM_PINCODE" "CLAIMED_NFT" "USER_TEST" "CUSTOM" |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "default_value": null,
- "name": "string",
- "template_type": "USER_INVITE",
- "value": { }
}
], - "total_results": 0
}
Gets all item types for the organization of a specific organization ID (if supplied), or the calling user.
Only organization or platform admins have access to this data. If no organization ID is supplied, platform admins will get all item types. If no organization ID is supplied, an org admin will get the item types of his organization.
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 100 ] Default: 100 PaginationLimit |
organization_id | string <uuid> Default: null |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "json_schema": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6"
}
], - "total_results": 0
}
Create a new item type for an organization.
If not supplied, the organization of the requesting user is used.
Authorizations:
Request Body schema: application/json
required | object |
name required | string SafeString |
organization_id | string or null <uuid> Default: null |
Responses
Request samples
- Payload
{- "json_schema": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "organization_id": null
}
Response samples
- 201
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "json_schema": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6"
}
Get the meta schema (+example) which is used to validate an item type schema.
Only organization or platform admins have access to this data.
Authorizations:
Responses
Response samples
- 200
{- "example_json_schema": {
- "property1": { },
- "property2": { }
}, - "meta_json_schema": {
- "property1": { },
- "property2": { }
}
}
Get a specific item type for an organization.
Authorizations:
path Parameters
item_type_id required | string <uuid> |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "json_schema": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6"
}
Edits an existing item type for an organization.
Authorizations:
path Parameters
item_type_id required | string <uuid> |
Request Body schema: application/json
required | object |
name required | string SafeString |
Responses
Request samples
- Payload
{- "json_schema": {
- "property1": { },
- "property2": { }
}, - "name": "string"
}
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "json_schema": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6"
}
Get all items associated with this collection
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 1000 ] Default: 100 MediumPaginationLimit |
collection_id required | string <uuid> |
token_id | Array of strings Default: null |
attributes | Array of strings Default: null |
locked | boolean Default: null |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "attributes": {
- "property1": { },
- "property2": { }
}, - "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_type_id": null,
- "locked": true,
- "max_supply": null,
- "media": {
- "image": null
}, - "royalty_info": null,
- "token_id": null,
- "token_status": "MINTED"
}
], - "total_results": 0
}
Create a new item associated with the given collection
Authorizations:
Request Body schema: application/json
required | object |
collection_id required | string <uuid> |
item_type_id | string or null <uuid> Default: null |
Responses
Request samples
- Payload
{- "attributes": {
- "property1": { },
- "property2": { }
}, - "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
- "item_type_id": null
}
Response samples
- 201
{- "attributes": {
- "property1": { },
- "property2": { }
}, - "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_type_id": null,
- "locked": true,
- "max_supply": null,
- "media": {
- "image": null
}, - "royalty_info": null,
- "token_id": null,
- "token_status": "MINTED"
}
Edit item metadata associated with an existing item
Authorizations:
Request Body schema: application/json
required | Array of objects | ||||||||
Array
|
Responses
Request samples
- Payload
{- "items": [
- {
- "attributes": null,
- "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
- "item_type_id": null,
- "royalty_info": null
}
]
}
Response samples
- 200
{- "results": [
- {
- "attributes": {
- "property1": { },
- "property2": { }
}, - "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_type_id": null,
- "locked": true,
- "max_supply": null,
- "media": {
- "image": null
}, - "royalty_info": null,
- "token_id": null,
- "token_status": "MINTED"
}
]
}
Create a bulk set of items associated with the given collection
Authorizations:
Request Body schema: application/json
required | Array of objects | ||||||
Array
|
Responses
Request samples
- Payload
{- "items": [
- {
- "attributes": {
- "property1": { },
- "property2": { }
}, - "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
- "item_type_id": null
}
]
}
Response samples
- 201
{- "item_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Request the lock of one or more items.
There are three ways to specify the items to lock. When specifying individual items, they should all be unlocked, else the request will fail.
item_id
- Locks a single itemitem_ids
- Locks a list of items by their ids.collection_id
- Locks all remaining unlocked items in a collection.
For the max_supply
parameter:
- (for
ERC721's
) it should always be 1. If not specified, then it will be coerced to 1. - (for
ERC1155's
) it should be greater than 0. If not specified, then it will be coerced to the max value of a web3 uint128.
For the token_id
parameter:
- This can only be done for a single item and if the token assignment strategy of the collection is set to
MANUAL
. - If left out, the token assignment strategy of the collection should be set to either
AUTOMATIC
orEXTERNAL
.
Once an item has been locked the following actions will be available:
- Listing
- Minting
- Transferring
- Sending via an email claim
Authorizations:
Request Body schema: application/json
collection_id | string or null <uuid> Default: null |
item_id | string or null <uuid> Default: null |
item_ids | Array of strings or null <uuid> Default: null |
max_supply | string or null Default: null Uint256 |
token_id | string or null Default: null Uint256 |
Responses
Request samples
- Payload
{- "collection_id": null,
- "item_id": null,
- "item_ids": null,
- "max_supply": null,
- "token_id": null
}
Response samples
- 201
{- "lock_outputs": [
- {
- "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
- "max_supply": null,
- "token_id": "string"
}
]
}
Response samples
- 200
{- "attributes": {
- "property1": { },
- "property2": { }
}, - "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_type_id": null,
- "locked": true,
- "max_supply": null,
- "media": {
- "image": null
}, - "royalty_info": null,
- "token_id": null,
- "token_status": "MINTED"
}
Update an item
This is a full update -- all attributes specified will overwrite ALL existing attributes and item-type specific attributes must be valid against the item type schema. (if any) Attributes cannot be updated once an item has been minted, unless the collection has editable_metadata=True.
Authorizations:
path Parameters
item_id required | string <uuid> |
Request Body schema: application/json
object or null Default: null | |
item_type_id | string or null <uuid> Default: null |
object or null Default: null |
Responses
Request samples
- Payload
{- "attributes": null,
- "item_type_id": null,
- "royalty_info": null
}
Response samples
- 200
{- "attributes": {
- "property1": { },
- "property2": { }
}, - "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_type_id": null,
- "locked": true,
- "max_supply": null,
- "media": {
- "image": null
}, - "royalty_info": null,
- "token_id": null,
- "token_status": "MINTED"
}
Get an item's status by id
Authorizations:
path Parameters
item_id required | string <uuid> |
Responses
Response samples
- 200
{- "email_claim_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "listing_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "mint_request_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "reservations": {
- "mint": 0,
- "transfer": 0
}, - "supply": {
- "current": "string",
- "total": "string"
}, - "transfer_request_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Get paginated item mint request details.
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 1000 ] Default: 100 MediumPaginationLimit |
item_id | string <uuid> Default: null |
collection_id | string <uuid> Default: null |
to_address | string Default: null ChecksumAddress |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
- "quantity": "string",
- "state": "PENDING",
- "to_address": "string",
- "transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482",
- "tx_hash": null
}
], - "total_results": 0
}
Request the mint of one or more items.
This submits a request to mint one or more items and returns the transaction details on the newly created requests. There are five ways to specify the items to mint:
item_id
- Mint a single itemitem_ids
- Mint a list of items by their ids.collection_id
- Mint all locked and un-minted items in a collection. Reserved items (email claims, listings) will not be considered when minting.collection_id
&token_ids
- Mint a list of items by their token ids.collection_id
&token_ranges
- Mint a list of items by token ranges.
All items must be locked and not currently minted, else the request will fail.
When minting, a to_address
must be specified. This is the address that will receive the newly minted items.
There is currently a limit of 100 items that can be minted at once. When passing a set of individual item identifiers, the request will fail if you attempt to submit more than 100 items. When passing collection_id
, only the first 100 will be considered. If you need to mint more than 100 items, you will need to make multiple requests.
Authorizations:
Request Body schema: application/json
collection_id | string or null <uuid> Default: null |
item_id | string or null <uuid> Default: null |
item_ids | Array of strings or null <uuid> Default: null |
quantities | Array of strings or null Default: null |
quantity | string or null Default: null Uint256 |
to_address | string or null Default: null ChecksumAddress |
to_addresses | Array of strings or null Default: null |
token_ids | Array of strings or null Default: null |
Array of objects or null Default: null |
Responses
Request samples
- Payload
{- "collection_id": null,
- "item_id": null,
- "item_ids": null,
- "quantities": null,
- "quantity": null,
- "to_address": null,
- "to_addresses": null,
- "token_ids": null,
- "token_ranges": null
}
Response samples
- 201
{- "mint_requests": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
- "quantity": "string",
- "state": "PENDING",
- "to_address": "string",
- "transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482",
- "tx_hash": null
}
]
}
Get the item mint request details.
Authorizations:
path Parameters
id required | string <uuid> |
Responses
Response samples
- 200
{- "created_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
- "quantity": "string",
- "state": "PENDING",
- "to_address": "string",
- "transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482",
- "tx_hash": null
}
Get Listings
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 1000 ] Default: 100 MediumPaginationLimit |
item_id | string <uuid> Default: null |
collection_id | string <uuid> Default: null |
status | string Default: null Enum: "ACTIVE" "CANCELLED" "COMPLETE" "PENDING_TX" null |
campaign_id | string <uuid> Default: null |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "campaign_id": null,
- "collection_id": null,
- "currency": "USD",
- "end_time": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_id": null,
- "max_quantity_per_tx": 0,
- "payment_providers": [
- "STRIPE"
], - "policy": null,
- "price": "string",
- "quantity_listed": 0,
- "quantity_remaining": 0,
- "sale_type": "SET_PRICE",
- "settlement_currency": null,
- "start_time": null,
- "status": "ACTIVE"
}
], - "total_results": 0
}
Create a new listing
Authorizations:
Request Body schema: application/json
campaign_id | string or null <uuid> Default: null |
collection_id | string or null <uuid> Default: null |
currency required | string Enum: "USD" "ETH" "ERC20" "EUR" |
end_time | string or null <date-time> Default: null UtcDateTime |
item_id | string or null <uuid> Default: null |
item_ids | Array of strings or null <uuid> Default: null |
max_quantity_per_tx required | integer <int32> |
payment_providers required | Array of strings Items Enum: "STRIPE" "MINT_VOUCHER" "EMAIL_CLAIM" "ORGANIZATION" "BETA_FREE_MINT" |
required | object |
price required | string Uint256 |
quantity_listed | integer or string or null <Uint256> Default: null |
object or null Default: null | |
start_time | string or null <date-time> Default: null UtcDateTime |
token_ids | Array of strings or null Default: null |
Array of objects or null Default: null |
Responses
Request samples
- Payload
{- "campaign_id": null,
- "collection_id": null,
- "currency": "USD",
- "end_time": null,
- "item_id": null,
- "item_ids": null,
- "max_quantity_per_tx": 0,
- "payment_providers": [
- "STRIPE"
], - "policy": {
- "email_addresses": null,
- "email_claim_duration": null,
- "eth_addresses": null,
- "item_assignment_strategy": "AUTOMATIC",
- "max_per_user": null,
- "payment_session_duration": null,
- "snapshot_id": null,
- "tx_payer": "BUYER",
- "type": "ALLOW_LIST"
}, - "price": "string",
- "quantity_listed": null,
- "settlement_currency": null,
- "start_time": null,
- "token_ids": null,
- "token_ranges": null
}
Response samples
- 201
{- "campaign_id": null,
- "collection_id": null,
- "currency": "USD",
- "end_time": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_id": null,
- "max_quantity_per_tx": 0,
- "payment_providers": [
- "STRIPE"
], - "policy": null,
- "price": "string",
- "quantity_listed": 0,
- "quantity_remaining": 0,
- "sale_type": "SET_PRICE",
- "settlement_currency": null,
- "start_time": null,
- "status": "ACTIVE"
}
Get Listing by id
Authorizations:
path Parameters
listing_id required | string <uuid> |
Responses
Response samples
- 200
{- "campaign_id": null,
- "collection_id": null,
- "currency": "USD",
- "end_time": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_id": null,
- "max_quantity_per_tx": 0,
- "payment_providers": [
- "STRIPE"
], - "policy": null,
- "price": "string",
- "quantity_listed": 0,
- "quantity_remaining": 0,
- "sale_type": "SET_PRICE",
- "settlement_currency": null,
- "start_time": null,
- "status": "ACTIVE"
}
Edit Listing
Authorizations:
path Parameters
listing_id required | string <uuid> |
Request Body schema: application/json
campaign_id | string or null <uuid> Default: null |
end_time | string or null <date-time> Default: null UtcDateTime |
object or null Default: null | |
start_time | string or null <date-time> Default: null UtcDateTime |
Responses
Request samples
- Payload
{- "campaign_id": null,
- "end_time": null,
- "policy": null,
- "start_time": null
}
Response samples
- 200
{- "campaign_id": null,
- "collection_id": null,
- "currency": "USD",
- "end_time": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_id": null,
- "max_quantity_per_tx": 0,
- "payment_providers": [
- "STRIPE"
], - "policy": null,
- "price": "string",
- "quantity_listed": 0,
- "quantity_remaining": 0,
- "sale_type": "SET_PRICE",
- "settlement_currency": null,
- "start_time": null,
- "status": "ACTIVE"
}
Get all purchase intents for an organization
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 1000 ] Default: 100 MediumPaginationLimit |
item_id | string <uuid> Default: null |
collection_id | string <uuid> Default: null |
listing_id | string <uuid> Default: null |
status | Array of strings Default: null Items Enum: "PENDING" "UNRESOLVED" "CANCELLED" "CONFIRMED" "EXPIRED" |
string Default: null | |
eth_address | string Default: null ChecksumAddress |
fulfillment_status | Array of strings Default: null Items Enum: "PENDING" "ASSIGNED" "COMPLETED" "EXCEPTION" |
fulfillment_method | Array of strings Default: null Items Enum: "EMAIL" "TRANSFER" "VOUCHER" |
payment_provider | Array of strings Default: null Items Enum: "STRIPE" "MINT_VOUCHER" "EMAIL_CLAIM" "ORGANIZATION" "BETA_FREE_MINT" |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "email": null,
- "eth_address": null,
- "expiration": "2019-08-24T14:15:22Z",
- "fulfillment_method": "EMAIL",
- "fulfillment_status": "PENDING",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_claim_ids": null,
- "listing_id": "5322d4a9-51d2-4408-82fb-01ffecfb8304",
- "payment_provider": "STRIPE",
- "provider_price": {
- "property1": { },
- "property2": { }
}, - "status": "PENDING",
- "stripe_payment_intent_id": null,
- "transaction_ids": null
}
], - "total_results": 0
}
Get purchase intent by id
Authorizations:
path Parameters
purchase_intent_id required | string <uuid> |
Responses
Response samples
- 200
{- "created_at": "2019-08-24T14:15:22Z",
- "email": null,
- "eth_address": null,
- "expiration": "2019-08-24T14:15:22Z",
- "fulfillment_method": "EMAIL",
- "fulfillment_status": "PENDING",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_claim_ids": null,
- "listing_id": "5322d4a9-51d2-4408-82fb-01ffecfb8304",
- "payment_provider": "STRIPE",
- "provider_price": {
- "property1": { },
- "property2": { }
}, - "status": "PENDING",
- "stripe_payment_intent_id": null,
- "transaction_ids": null
}
Get purchase intent by id. Only returns items that have been assigned to the purchase intent and that have an associated token id.
Authorizations:
path Parameters
purchase_intent_id required | string <uuid> |
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 1000 ] Default: 100 MediumPaginationLimit |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "attributes": {
- "property1": { },
- "property2": { }
}, - "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_type_id": null,
- "locked": true,
- "max_supply": null,
- "media": {
- "image": null
}, - "royalty_info": null,
- "token_id": null,
- "token_status": "MINTED"
}
], - "total_results": 0
}
Get all marketing campaigns
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 1000 ] Default: 100 MediumPaginationLimit |
name | string Default: null SafeString |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "email_from": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
], - "total_results": 0
}
Create a new marketing campaign
Authorizations:
Request Body schema: application/json
email_from | string or null Default: null SafeString |
name required | string SafeString |
Responses
Request samples
- Payload
{- "email_from": null,
- "name": "string"
}
Response samples
- 201
{- "created_at": "2019-08-24T14:15:22Z",
- "email_from": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
Edit marketing campaign with the id
Authorizations:
path Parameters
campaign_id required | string <uuid> |
Request Body schema: application/json
email_from | string or null Default: null SafeString |
name | string or null Default: null SafeString |
Responses
Request samples
- Payload
{- "email_from": null,
- "name": null
}
Response samples
- 200
{- "created_at": "2019-08-24T14:15:22Z",
- "email_from": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
Get the available networks
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 100 ] Default: 100 PaginationLimit |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "config": {
- "autoDeploy": true,
- "autoFundAmount": "string",
- "confirmations": 0,
- "eip155": true,
- "fee_limit_gwei": null,
- "gasStrategy": {
- "property1": { },
- "property2": { }
}, - "maxConcurrentTxs": 0,
- "poa": true,
- "txResubmitBlockCount": null,
- "url": "string"
}, - "enabled": true,
- "gas_policy_id": null,
- "id": 0,
- "name": "string",
- "payment_tokens": null,
- "testnet": true
}
], - "total_results": 0
}
Get a specific network
Authorizations:
path Parameters
network_id required | integer or string <Uint256> |
Responses
Response samples
- 200
{- "config": {
- "autoDeploy": true,
- "autoFundAmount": "string",
- "confirmations": 0,
- "eip155": true,
- "fee_limit_gwei": null,
- "gasStrategy": {
- "property1": { },
- "property2": { }
}, - "maxConcurrentTxs": 0,
- "poa": true,
- "txResubmitBlockCount": null,
- "url": "string"
}, - "enabled": true,
- "gas_policy_id": null,
- "id": 0,
- "name": "string",
- "payment_tokens": null,
- "testnet": true
}
Returns all tokens of specified network id
Authorizations:
path Parameters
network_id required | integer or string <Uint256> |
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 100 ] Default: 100 PaginationLimit |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- null
], - "total_results": 0
}
Create payment token for specified network
Authorizations:
path Parameters
network_id required | integer or string <Uint256> |
Request Body schema: application/json
address required | string ChecksumAddress |
eth | boolean Default: false |
eur_stablecoin | boolean Default: false |
usd_stablecoin | boolean Default: false |
Responses
Request samples
- Payload
{- "address": "string",
- "eth": false,
- "eur_stablecoin": false,
- "usd_stablecoin": false
}
Response samples
- 201
{- "address": "string",
- "decimals": 0,
- "eth": false,
- "eur_stablecoin": false,
- "network_id": 0,
- "symbol": "string",
- "usd_stablecoin": false
}
Edit an organization payout configuration
Authorizations:
path Parameters
organization_id required | string <uuid> |
Request Body schema: application/json
payout_address | string or null Default: null ChecksumAddress |
platform_sale_fee | number or null [ 0 .. 10000 ] Default: null BasisPoints |
Responses
Request samples
- Payload
{- "payout_address": null,
- "platform_sale_fee": null
}
Response samples
- 200
{- "payout_address": "string",
- "platform_sale_fee": 0
}
Get roles available for the current organization
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 100 ] Default: 100 PaginationLimit |
name | string Default: null SafeString |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "permissions": [
- "string"
], - "rank": 0
}
], - "total_results": 0
}
Get Snapshots
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 100 ] Default: 100 PaginationLimit |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "collection_id": null,
- "contract_address": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "criteria": {
- "property1": { },
- "property2": { }
}, - "holder_count": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "network_id": 0,
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "status": "PENDING",
- "token_type": "ERC721"
}
], - "total_results": 0
}
Create new Snapshot
Authorizations:
Request Body schema: application/json
collection_id | string or null <uuid> Default: null |
contract_address | string or null Default: null SafeString |
required | object |
name required | string SafeString |
network_id | integer or string or null <Uint256> Default: null |
token_type | string or null Default: null Enum: "ERC721" "ERC1155" null |
Responses
Request samples
- Payload
{- "collection_id": null,
- "contract_address": null,
- "criteria": {
- "block_number": null,
- "max_tokens": null,
- "min_tokens": null,
- "timestamp": null,
- "token_ids": null,
- "token_ranges": null
}, - "name": "string",
- "network_id": null,
- "token_type": "ERC721"
}
Response samples
- 201
{- "collection_id": null,
- "contract_address": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "criteria": {
- "property1": { },
- "property2": { }
}, - "holder_count": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "network_id": 0,
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "status": "PENDING",
- "token_type": "ERC721"
}
Get Snapshot by id
Authorizations:
path Parameters
snapshot_id required | string <uuid> |
Responses
Response samples
- 200
{- "collection_id": null,
- "contract_address": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "criteria": {
- "property1": { },
- "property2": { }
}, - "holder_count": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "network_id": 0,
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "status": "PENDING",
- "token_type": "ERC721"
}
Edit Snapshot by id
Authorizations:
path Parameters
snapshot_id required | string <uuid> |
Request Body schema: application/json
name required | string SafeString |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
{- "collection_id": null,
- "contract_address": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "criteria": {
- "property1": { },
- "property2": { }
}, - "holder_count": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "network_id": 0,
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "status": "PENDING",
- "token_type": "ERC721"
}
Get Snapshot holders
Authorizations:
path Parameters
snapshot_id required | string <uuid> |
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | integer <int32> [ 1 .. 10000 ] Default: 100 LargePaginationLimit |
output_type | string Default: "PER_ADDRESS" Enum: "PER_ADDRESS" "PER_TOKEN" |
holder | Array of strings Default: null |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": null,
- "total_results": 0
}
Get all transactions for an organization
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 1000 ] Default: 100 MediumPaginationLimit |
network_ids | Array of integers <int32> [ items <int32 > ] Default: null |
tx_types | Array of strings Default: null Items Enum: "DEPLOY_TOKEN_CONTRACT" "DEPLOY_CONTRACT_VIA_FACTORY" "SET_APPROVAL_FOR_ALL" "MINT_TOKEN" "ADMIN_MINT_WITH_URI" "TRANSFER_TOKEN" "CREATE_FOR_ADMIN_MINT" "FUND_ACCOUNT" "WITHDRAW_BALANCE" "ADMIN_MINT" "ADMIN_MINT_NO_ID" "TRANSFER_OWNERSHIP" "GRANT_ROLE" "GRANT_MANY" "INVOKE_FUNCTION" "SET_CONTRACT_ROYALTY" "SET_PER_TOKEN_ROYALTY" "UNSET_PER_TOKEN_ROYALTY" "DISTRIBUTOR_CONTRACT" "SET_BASE_URI" "TRANSFER_ERC20" "BULK_ADMIN_MINT" "BILLING_STATUS" "CREATE_TOKEN_FIXED_PRICE" "DISPERSE" |
states | Array of strings Default: null Items Enum: "PENDING" "SUBMITTED" "COMPLETED" "CANCELLED" "QUEUED" |
signers | Array of strings Default: null |
item_id | string <uuid> Default: null |
collection_id | string <uuid> Default: null |
order_by | string Default: "CREATED_AT" Enum: "CREATED_AT" null |
on_chain_status | string Default: null Enum: "FAILURE" "SUCCESS" null |
has_failures | boolean Default: null |
billing_status | string Default: null Enum: "NEW" "INITIATED" "COMPLETED" "CANCELED" "EXPIRED" "FAILED" "NO_CHARGE" null |
testnet | boolean Default: null |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "billing_details": null,
- "billing_status": "NEW",
- "collection_id": null,
- "created_at": "2019-08-24T14:15:22Z",
- "data": {
- "property1": { },
- "property2": { }
}, - "effective_gas_price": null,
- "error_message": null,
- "failure_count": 0,
- "gas_used": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_id": null,
- "mined_block_number": null,
- "network_id": 0,
- "nonce": 0,
- "on_chain_status": "FAILURE",
- "on_chain_timestamp": null,
- "signer": "string",
- "state": "PENDING",
- "tx_fee": null,
- "tx_hash": "string",
- "tx_type": "DEPLOY_TOKEN_CONTRACT"
}
], - "total_results": 0
}
Get a specific transaction
Authorizations:
path Parameters
transaction_id required | string <uuid> |
Responses
Response samples
- 200
{- "billing_details": null,
- "billing_status": "NEW",
- "collection_id": null,
- "created_at": "2019-08-24T14:15:22Z",
- "data": {
- "property1": { },
- "property2": { }
}, - "effective_gas_price": null,
- "error_message": null,
- "failure_count": 0,
- "gas_used": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_id": null,
- "mined_block_number": null,
- "network_id": 0,
- "nonce": 0,
- "on_chain_status": "FAILURE",
- "on_chain_timestamp": null,
- "signer": "string",
- "state": "PENDING",
- "tx_fee": null,
- "tx_hash": "string",
- "tx_type": "DEPLOY_TOKEN_CONTRACT"
}
Edit a specific transaction
Authorizations:
path Parameters
transaction_id required | string <uuid> |
Request Body schema: application/json
state required | string Enum: "PENDING" "SUBMITTED" "COMPLETED" "CANCELLED" "QUEUED" |
Responses
Request samples
- Payload
{- "state": "PENDING"
}
Response samples
- 200
{- "billing_details": null,
- "billing_status": "NEW",
- "collection_id": null,
- "created_at": "2019-08-24T14:15:22Z",
- "data": {
- "property1": { },
- "property2": { }
}, - "effective_gas_price": null,
- "error_message": null,
- "failure_count": 0,
- "gas_used": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item_id": null,
- "mined_block_number": null,
- "network_id": 0,
- "nonce": 0,
- "on_chain_status": "FAILURE",
- "on_chain_timestamp": null,
- "signer": "string",
- "state": "PENDING",
- "tx_fee": null,
- "tx_hash": "string",
- "tx_type": "DEPLOY_TOKEN_CONTRACT"
}
Get users for the current organization
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 100 ] Default: 100 PaginationLimit |
organization_id | string <uuid> Default: null |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "active": true,
- "address": null,
- "email": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "last_seen": null,
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9"
}
], - "total_results": 0
}
Response samples
- 200
{- "active": true,
- "address": null,
- "email": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "last_seen": null,
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9"
}
Edit a user
Authorizations:
path Parameters
user_id required | string <uuid> |
Request Body schema: application/json
role_id | string or null <uuid> Default: null |
Responses
Request samples
- Payload
{- "role_id": null
}
Response samples
- 200
{- "active": true,
- "address": null,
- "email": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "last_seen": null,
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9"
}
Get all webhooks
Authorizations:
query Parameters
order_direction | string Default: null Enum: "ASC" "DESC" null |
cursor | string Default: null SafeString |
limit | number [ 1 .. 100 ] Default: 100 PaginationLimit |
Responses
Response samples
- 200
{- "cursor": null,
- "has_more": true,
- "results": [
- {
- "enabled": true,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "secret": "string",
- "url": "string"
}
], - "total_results": 0
}
Create webhook
Authorizations:
Request Body schema: application/json
enabled required | boolean |
name required | string SafeString |
secret required | string SafeString |
url required | string SafeString |
Responses
Request samples
- Payload
{- "enabled": true,
- "name": "string",
- "secret": "string",
- "url": "string"
}
Response samples
- 201
{- "enabled": true,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "secret": "string",
- "url": "string"
}
Send a sample webhook to the given url
Authorizations:
Request Body schema: application/json
secret required | string SafeString |
url required | string SafeString |
Responses
Request samples
- Payload
{- "secret": "string",
- "url": "string"
}
Response samples
- 201
{- "response": null,
- "success": true
}
Edit webhook
Authorizations:
path Parameters
webhook_id required | string <uuid> |
Request Body schema: application/json
enabled | boolean or null Default: null |
name | string or null Default: null SafeString |
secret | string or null Default: null SafeString |
url | string or null Default: null SafeString |
Responses
Request samples
- Payload
{- "enabled": null,
- "name": null,
- "secret": null,
- "url": null
}
Response samples
- 200
{- "enabled": true,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "secret": "string",
- "url": "string"
}