Vanar | API Reference
Back to Console

Create Bundle

Create a new bundle to organize seeds into collections with custom metadata.

Endpoint

POST /bundles

Authentication

Required. Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Query Parameters

ParameterTypeRequiredDescription
appIdstringYesApplication identifier for multi-tenant isolation
externalUserIdstringYesExternal user identifier for data isolation

Request Body

FieldTypeRequiredDescription
namestringYesBundle name (1-100 characters)
colorstringNoHex color code (default: #4A90E2)
iconstringNoIcon name (e.g., folder, book)
descriptionstringNoBundle description (max 500 characters)
metadataobjectNoCustom metadata object

Response Fields

FieldTypeDescription
idstringUnique bundle identifier
namestringBundle name
colorstringHex color code
iconstringIcon character
seedCountnumberNumber of seeds in bundle (0 for new bundles)
createdAtstringISO 8601 timestamp

Status Codes

CodeDescription
201Created - Bundle created successfully
400Bad Request - Invalid parameters or missing required fields
401Unauthorized - Invalid API key
500Internal Server Error

Base URL: All requests use https://api-development.myneutron.ai which adapts to your environment.