Die brainful API enables seamless integration between your applications and brainful's leistungsstark content management system. Whether you're building automation tools or integrating with your favorite apps, unsere RESTFUL API provides a simple and secure way to interact with your content.
Token-based authentication with https encryption
Standard http methods with json responses
Built-in geolocation capabilities
Optimised for reliable performance
60 requests per minute per user
Visit your brainful Optionsseite to generate your api token.
Select from our example code in cURL, JavaScript, oder Python um schnell zu beginnen.
Try out the interactive examples below to test your integration.
All API requests require your API token in the Authorization header. Get your token from the brainful Optionsseite. The api supports both token and bearer token formats.
Authorization: Token YOUR_API_TOKEN
Authorization: Bearer YOUR_API_TOKEN
All parameters are sent in the request body as JSON.
Parameter | Type | Erforderlich | Beschreibung |
---|---|---|---|
string | string | Ja | Hinzuzufügender Inhalt (1-5000 Zeichen) |
parent_luid | string | Nein | luid des übergeordneten Blocks (optional) |
latitude | float | Nein | latitude (-90° zu 90°) |
longitude | float | Nein | longitude (-180° zu 180°) |
agent | string | Nein | Agent identifier (max 50 chars) |
team_space | string | Nein | Team space slug to add the block to (only for organization members) |
{ "luid": "abc123", "slug": "My New Block", "type": "thought", "pinned": false, "entities": [], "created_timestamp": "2024-01-01T00:00:00Z", "last_edited": "2024-01-01T00:00:00Z", "experience": 5, "remaining_daily_quota": 97 }
luid
Type: string
Unique identifier for the created content
slug
Type: string
URL-friendly version of the content
words
Type: Ganzzahl
Number of words in the content
remaining_daily_quota
Type: Ganzzahl
Remaining content creation quota for today
All parameters are sent in the request body as JSON.
Parameter | Type | Erforderlich | Beschreibung |
---|---|---|---|
identifier | string | Ja | Bezeichner des Blocks, an den angehängt werden soll (luid oder slug) |
string | string | Ja | Anzuhängender Inhalt (1-5000 Zeichen) |
{ "details": "Text appended to block successfully.", "luid": "abc123", "slug": "my-example-block" }
luid
Type: string
Unique identifier for the created content
slug
Type: string
URL-friendly version of the content
words
Type: Ganzzahl
Number of words in the content
remaining_daily_quota
Type: Ganzzahl
Remaining content creation quota for today
Parameter | Type | Erforderlich | Beschreibung |
---|---|---|---|
luid | string | Ja | Unique identifier of the block to retrieve |
Parameter | Type | Erforderlich | Beschreibung |
---|---|---|---|
latitude | float | Nein | latitude (-90° zu 90°) |
longitude | float | Nein | longitude (-180° zu 180°) |
agent | string | Nein | Agent-Bezeichner (max 50 chars) |
{ "creator": "johnnyappleseed", "luid": "abc123", "slug": "My New Block", "type": "thought", "html": "", "blocks": [], "entities": [], "flagged": false, "pinned": false, "archived": false, "trashed": false, "public": false, "created_timestamp": "2025-01-28 18:01", "last_edited": "2025-01-28 18:01", "words": 3, "bytes": 45, "hits": 0 } My New Block
creator
Type: string
Username of the content creator
luid
Type: string
Unique identifier for the block
type
Type: string
Inhaltstyp (e.g., "thought")
html
Type: string
HTML Inhalt des Blocks
created_timestamp
Type: string
Creation date and time
hits
Type: Ganzzahl
Number of views