cURL
curl --request POST \ --url https://public-api-v2.bags.fm/api/v1/token-launch/create-token-info \ --header 'Content-Type: multipart/form-data' \ --header 'x-api-key: <api-key>' \ --form 'name=<string>' \ --form 'symbol=<string>' \ --form 'description=<string>' \ --form 'telegram=<string>' \ --form 'twitter=<string>' \ --form 'website=<string>' \ --form image=@example-file
{ "success": true, "response": { "tokenMint": "<string>", "tokenMetadata": "<string>", "tokenLaunch": { "userId": "<string>", "name": "<string>", "symbol": "<string>", "description": "<string>", "telegram": "<string>", "twitter": "<string>", "website": "<string>", "image": "<string>", "tokenMint": "<string>", "status": "PRE_LAUNCH", "launchWallet": "<string>", "launchSignature": "<string>", "uri": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } } }
Create token information with image upload and generate a token mint that can be used to launch a token
API key authentication. Provide your API key as the header value.
Successfully created token info
The response is of type object.
object