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.

Adds a specified amount of liquid from a collectable to an infinity bottle. Authentication
Requires a valid access token.
URL Parameters
id
string
required
The ID of the user who owns the infinity bottle.
bottle_id
string
required
The ID of the infinity bottle to add to.
Request Body
infinity_bottle
object
required
Returns Returns a success message if the addition was successful.
curl -X POST https://api.onlydrams.app/api/v1/users/123/infinity_bottles/456/add \
     -H "Content-Type: application/json" \
     -H "Authorization: Bearer $ACCESS_TOKEN" \
     -d '{
       "infinity_bottle": {
         "amount": 50,
         "collectable_id": "789"
       }
     }'
{
  "message": "Added 50 oz."
}