Yang brainful API memungkinkan integrasi yang mulus antara aplikasi Anda dan brainful's kuat sistem manajemen konten. Apakah Anda sedang membangun alat otomatisasi atau mengintegrasikan dengan aplikasi favorit Anda, kami API RESTFUL menyediakan cara yang sederhana dan aman untuk berinteraksi dengan konten Anda.
Autentikasi berbasis token dengan enkripsi HTTPS
Metode HTTP standar dengan respons JSON
Kemampuan geolokasi bawaan
Dioptimalkan untuk kinerja yang andal
60 requests per minute per user
Visit your brainful options page to generate your api token.
Select from our example code in cURL, JavaScript, atau 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_TOKENAuthorization: Bearer YOUR_API_TOKENAll parameters are sent in the request body as JSON.
| Parameter | Type | Required | Deskripsi |
|---|---|---|---|
| string | string | Ya | Content to be added (1-5000 karakter) |
| parent_luid | string | Tidak | luid of the parent block (optional) |
| latitude | float | Tidak | latitude (-90° ke 90°) |
| longitude | float | Tidak | longitude (-180° ke 180°) |
| agent | string | Tidak | Agent identifier (max 50 chars) |
| team_space | string | Tidak | 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
}luidType: string
Unique identifier for the created content
slugType: string
URL-friendly version of the content
wordsType: integer
Number of words in the content
remaining_daily_quotaType: integer
Remaining content creation quota for today
All parameters are sent in the request body as JSON.
| Parameter | Type | Required | Deskripsi |
|---|---|---|---|
| identifier | string | Ya | Identifier of the block to append to (luid atau slug) |
| string | string | Ya | Content to be appended (1-5000 karakter) |
{
"details": "Text appended to block successfully.",
"luid": "abc123",
"slug": "my-example-block"
}luidType: string
Unique identifier for the created content
slugType: string
URL-friendly version of the content
wordsType: integer
Number of words in the content
remaining_daily_quotaType: integer
Remaining content creation quota for today
| Parameter | Type | Required | Deskripsi |
|---|---|---|---|
| luid | string | Ya | Unique identifier of the block to retrieve |
| Parameter | Type | Required | Deskripsi |
|---|---|---|---|
| latitude | float | Tidak | latitude (-90° ke 90°) |
| longitude | float | Tidak | longitude (-180° ke 180°) |
| agent | string | Tidak | Agent identifier (maks 50 chars) |
{
"creator": "johnnyappleseed",
"luid": "abc123",
"slug": "My New Block",
"type": "thought",
"html": "My New Block
",
"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
}creatorType: string
Username of the content creator
luidType: string
Unique identifier for the block
typeType: string
Jenis isi (e.g., "thought")
htmlType: string
HTML content of the block
created_timestampType: string
Creation date and time
hitsType: integer
Number of views