De brainful API enables seamless integration between your applications and brainful's powerful content management system. Whether you're building automation tools or integrating with your favorite apps, our 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 options page to generate your api token.
Select from our example code in cURL, JavaScript, of Python to get started quickly.
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 options page. 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 | Required | Beschrijving |
---|---|---|---|
string | string | Ja | Content to be added (1-5000 tekens) |
parent_luid | string | Nee | luid of the parent block (optional) |
latitude | float | Nee | latitude (-90ยฐ naar 90ยฐ) |
longitude | float | Nee | longitude (-180ยฐ naar 180ยฐ) |
agent | string | Nee | Agent identifier (max 50 chars) |
team_space | string | Nee | 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: integer
Number of words in the content
remaining_daily_quota
Type: integer
Remaining content creation quota for today
All parameters are sent in the request body as JSON.
Parameter | Type | Required | Beschrijving |
---|---|---|---|
identifier | string | Ja | Identifier of the block to append to (luid of slug) |
string | string | Ja | Content to be appended (1-5000 tekens) |
{ "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: integer
Number of words in the content
remaining_daily_quota
Type: integer
Remaining content creation quota for today
Parameter | Type | Required | Beschrijving |
---|---|---|---|
luid | string | Ja | Unique identifier of the block to retrieve |
Parameter | Type | Required | Beschrijving |
---|---|---|---|
latitude | float | Nee | latitude (-90ยฐ naar 90ยฐ) |
longitude | float | Nee | longitude (-180ยฐ naar 180ยฐ) |
agent | string | Nee | Agent identifier (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
Inhoudstype (e.g., "thought")
html
Type: string
HTML content of the block
created_timestamp
Type: string
Creation date and time
hits
Type: integer
Number of views