Skip to main content

Documentation Index

Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt

Use this file to discover all available pages before exploring further.

Creates a new infinity bottle for a user. Authentication
Requires a valid access token.
URL Parameters
id
string
required
The ID of the user creating the infinity bottle.
Request Body
infinity_bottle
object
required
Returns Returns a success message if the infinity bottle was created successfully.
curl -X POST https://api.onlydrams.app/api/v1/users/123/infinity_bottles \
     -H "Content-Type: application/json" \
     -H "Authorization: Bearer $ACCESS_TOKEN" \
     -d '{
       "infinity_bottle": {
         "name": "Test Infinity"
       }
     }'
{
  "message": "Infinity Bottle created!"
}