Retrieve Braineet data in JSON
You can retrieve data from your Braineet Crowdsourcing platform using our public export APIs. These endpoints allow you to extract platform data in JSON format for use in analytics, reporting, or integration with other tools.
To retrieve data from Braineet, you can utilize the Data URL endpoint and choose Basic authentication.
Base URL
Your API base URL is:
https://<your-subdomain>.<your-root-domain>/api/exports/
For example, if your platform URL is
https://ideas.braineet.com, then:
platform=ideasplatformDomain=braineet.comIf you're using a custom domain like
ideas.yourcompany.com, then:
platform=ideasplatformDomain=yourcompany.com
Authentication
All export endpoints are protected with Basic Authentication. You will need a valid username and password to access the API.
🔐 How to Request Your Credentials
To request your API username and password:
- Email: [email protected]
- Or contact: Your Braineet Customer Success Manager (CSM)
Be sure to include your platform URL and the purpose of the access in your request.
Basic authentication is a simple authentication scheme built into the HTTP protocol. The client sends HTTP requests with the Authorization header that contains the word Basic word followed by a space and a base64-encoded string username:password . For example, to authorize as pierre.gourlaouen / APIKEYCODE123 the client would send
Authorization: Basic cGllcnJlLmdvdXJsYW91ZW5AYnJhaW5lZXQuY29tOkFQSUtFWUNPREUxMjM=
Note: Because base64 is easily decoded, Basic authentication should only be used together with other security mechanisms such as HTTPS/SSL.
Common Query Parameters
All endpoints support the following parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
page |
Integer | Yes | Pagination page number (starting from 1). |
limit |
Integer | Yes | Number of results per page (maximum: 200). |
platform |
String | Yes | The subdomain of your platform (e.g., team-preprod , ideas ). |
platformDomain |
String | Yes | The root domain of your platform (e.g., braineet.com or yourcompany.com ). |
since |
DateTime | Optional | Return results created or updated after this date (ISO 8601 format). |
orderBy |
String | Optional | Sort results by ASC or DESC (default is DESC ). |
API Specifications
When retrieving data from Braineet in JSON format, the data is structured as follows:
- JSON: An array of objects.
- Each object is a
map[string]any, where:- Each key is the name of a custom field.
- The value depends on the custom field type and can be:
- A number (e.g.,
42). - A string (e.g.,
"Some text"). - An array of strings (if the custom field type supports multiple values, e.g.,
["Option A", "Option B"]).
- A number (e.g.,
[
{
"project_name": "New Marketing Initiative",
"start_date": "2025-02-01",
"budget": 50000,
"tags": ["marketing", "sales"]
},
{
"project_name": "Website Redesign",
"start_date": "2025-04-10",
"budget": 75000,
"tags": ["design", "web"]
}
]
Available Endpoints
You can retrieve the following resources:
| Resource | Endpoint |
|---|---|
| Ideas (posts) | /contents |
| Likes | /likes |
| Challenges | /challenges |
| Challenge Votes | /challenge_votes |
| Articles | /articles |
| Surveys | /surveys |
| Comments | /comments |
| Applicants | /applicants |
| Views | /views |
| Daily Views | /daily_views |
| Members | /members |
| Invitations | /invitations |
| Followers | /followers |
| Attachments | /content_attachments |
Only new or updated contents
You can also use the since query parameter to retrieve only new or updated contents since a specific date and time. It uses the same ISO 8601 format:
?since=2025-03-08T00:00:00Z
- Only the fields that have been newly created or updated since this timestamp will be returned with their current values.
- If a field has not been modified, its value will appear as
null(ornilin certain representations) in the returned JSON. This lets you know the field was not changed during this period.
Example Response with since
[
{
"project_id": 123,
"project_name": null,
"budget": 60000,
"tags": null
},
{
"project_id": 456,
"project_name": "Updated Website Redesign",
"budget": null,
"tags": ["design", "web", "UX"]
}
]
In this example:
- For the project with
project_id: 123, only thebudgetfield was modified. All other fields arenullbecause they remain unchanged. - For the project with
project_id: 456, theproject_nameandtagswere modified, whilebudgetremains unchanged.
Example Request
Get the first 200 ideas from your platform:
GET https://team-preprod.braineet.com/api/exports/contents?page=1&limit=200&platform=ideas&platformDomain=braineet.com
Filter by date and sort ascending:
GET https://ideas.yourcompany.com/api/exports/comments?page=1&limit=200&since=2025-01-01T00:00:00Z&orderBy=ASC&platform=ideas&platformDomain=yourcompany.com
Notes
- Responses are returned in JSON format.
- Pagination is required for large datasets. Use
pageto access additional results. - The
sinceparameter is ideal for incremental exports.