Minting APIs
POST Tokens
- Documentation
- Introduction
- Overview
- Quickstart
- Errors
- Pagination
Wallet Creation APIs
Wallet Experience APIs
NFT APIs
Web3 APIs
SDK
Overview
Wallet as a Service (WaaS)
Minting APIs
POST Tokens
Create a token
POST
/
v1
/
apps
/
{appId}
/
tokens
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
appId
string
*
appId
Required
string
Your Bitski Application ID
curl -X 'POST' \
'https://api.bitski.com/v1/apps/{appId}/tokens' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-d '{
"initialOwner": "0xa4ef984773fd233c4cbed9cb1b905a3fa21e9461",
"token": {
"contractId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"image": "https://cdn.bitskistatic.com/tokens-raw/54676382-bab5-408d-afe2-fc6f160da4a8/06fd0294-a425-44c7-96e8-9d24757163b4.png",
"description": "A great token",
"metadata": {
"description": "A very special NFT",
"external_url": "https://www.bitski.com/@Stapleverse",
"image": "https://cdn.bitskistatic.com/tokens-raw/54676382-bab5-408d-afe2-fc6f160da4a8/06fd0294-a425-44c7-96e8-9d24757163b4.png",
"name": "NFT Token #1",
"properties": {},
},
"name": "Bird NFT",
"state": "AVAILABLE",
"tokenId": "0x1",
"tokenTemplateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"transaction": {
"from": "0xa4ef984773fd233c4cbed9cb1b905a3fa21e9461",
"gas": "0xd9cb1b905",
"gasPrice": "0xe8cb1b9"
}
}'
{
"tokens": [
{
"animationUrl": null,
"backgroundColor": "#ff1122",
"createdAt": "2023-04-26T20:42:11.878Z",
"description": "Interesting bird NFT",
"externalUrl": "https://www.bitski.com/@Stapleverse",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"image": "https://cdn.bitskistatic.com/tokens-raw/54676382-bab5-408d-afe2-fc6f160da4a8/06fd0294-a425-44c7-96e8-9d24757163b4.png",
"index": "0x3",
"metadata": {
"animation_url": null,
"background_color": null,
"description": "A very special NFT",
"external_url": "https://www.bitski.com/@Stapleverse",
"image": "https://cdn.bitskistatic.com/tokens-raw/54676382-bab5-408d-afe2-fc6f160da4a8/06fd0294-a425-44c7-96e8-9d24757163b4.png",
"name": "NFT Token #1",
"properties": {},
"youtube_url": null
},
"name": "Bird #1",
"privateMetadata": {},
"state": "MINTED",
"tokenTemplateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"youtubeUrl": null
}
]
}
This API requires the
apps
scopePath
appId
string
requiredYour Bitski Application ID
Response
token
object
requiredid
string
requiredtokenTemplateId
string
requiredname
string
requiredanimationUrl
string
backgroundColor
string
youtubeUrl
string
createdAt
string
requireddescription
string
requiredexternalUrl
string
image
string
index
string
requiredmetadata
object
requiredprivateMetadata
object
requiredstate
string
requiredcurl -X 'POST' \
'https://api.bitski.com/v1/apps/{appId}/tokens' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-d '{
"initialOwner": "0xa4ef984773fd233c4cbed9cb1b905a3fa21e9461",
"token": {
"contractId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"image": "https://cdn.bitskistatic.com/tokens-raw/54676382-bab5-408d-afe2-fc6f160da4a8/06fd0294-a425-44c7-96e8-9d24757163b4.png",
"description": "A great token",
"metadata": {
"description": "A very special NFT",
"external_url": "https://www.bitski.com/@Stapleverse",
"image": "https://cdn.bitskistatic.com/tokens-raw/54676382-bab5-408d-afe2-fc6f160da4a8/06fd0294-a425-44c7-96e8-9d24757163b4.png",
"name": "NFT Token #1",
"properties": {},
},
"name": "Bird NFT",
"state": "AVAILABLE",
"tokenId": "0x1",
"tokenTemplateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"transaction": {
"from": "0xa4ef984773fd233c4cbed9cb1b905a3fa21e9461",
"gas": "0xd9cb1b905",
"gasPrice": "0xe8cb1b9"
}
}'
{
"tokens": [
{
"animationUrl": null,
"backgroundColor": "#ff1122",
"createdAt": "2023-04-26T20:42:11.878Z",
"description": "Interesting bird NFT",
"externalUrl": "https://www.bitski.com/@Stapleverse",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"image": "https://cdn.bitskistatic.com/tokens-raw/54676382-bab5-408d-afe2-fc6f160da4a8/06fd0294-a425-44c7-96e8-9d24757163b4.png",
"index": "0x3",
"metadata": {
"animation_url": null,
"background_color": null,
"description": "A very special NFT",
"external_url": "https://www.bitski.com/@Stapleverse",
"image": "https://cdn.bitskistatic.com/tokens-raw/54676382-bab5-408d-afe2-fc6f160da4a8/06fd0294-a425-44c7-96e8-9d24757163b4.png",
"name": "NFT Token #1",
"properties": {},
"youtube_url": null
},
"name": "Bird #1",
"privateMetadata": {},
"state": "MINTED",
"tokenTemplateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"youtubeUrl": null
}
]
}