Go Vocal OpenAPI Specification (2)
Download OpenAPI specification:Download
Go Vocal's public REST API is available for customers that want to programatically access data of the platform. This can be used to integrate the data in other tools, or to display Go Vocal content on another website..
List areas
Retrieve a paginated list of all the areas in the platform, with the most recently created ones first.
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "areas": [
- {
- "id": "4658b754-3cbe-4be1-a704-2de7615ee991",
- "created_at": "2024-12-20T11:55:14.597Z",
- "updated_at": "2024-12-20T11:55:14.597Z",
- "title_multiloc": {
- "en": "Westside",
- "nl-BE": "Westerbuurt"
}, - "title": "Westside",
- "description_multiloc": {
- "en": "<p>A <i>calm</i> space to relax, where the city meets the woods.</p>",
- "nl-BE": "<p>Een <i>kalme</i> buurt om te relaxen, waar de stad en het bos samensmelten.</p>"
}, - "description": "<p>A <i>calm</i> space to relax, where the city meets the woods.</p>"
}, - {
- "id": "81413311-b219-48d0-b75b-22b6180da284",
- "created_at": "2024-12-20T11:55:14.592Z",
- "updated_at": "2024-12-20T11:55:14.592Z",
- "title_multiloc": {
- "en": "Westside",
- "nl-BE": "Westerbuurt"
}, - "title": "Westside",
- "description_multiloc": {
- "en": "<p>A <i>calm</i> space to relax, where the city meets the woods.</p>",
- "nl-BE": "<p>Een <i>kalme</i> buurt om te relaxen, waar de stad en het bos samensmelten.</p>"
}, - "description": "<p>A <i>calm</i> space to relax, where the city meets the woods.</p>"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 3
}
}
Get area
Retrieve a single area by its ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "area": {
- "id": "bab34cc7-aeb3-4715-9bef-ec6e14792b96",
- "created_at": "2024-12-20T11:55:15.157Z",
- "updated_at": "2024-12-20T11:55:15.187Z",
- "title_multiloc": {
- "en": "Westside",
- "nl-NL": "Westerbuurt"
}, - "title": "Westside",
- "description_multiloc": {
- "en": "<p>A <i>calm</i> space to relax, where the city meets the woods.</p>",
- "nl-BE": "<p>Een <i>kalme</i> buurt om te relaxen, waar de stad en het bos samensmelten.</p>"
}, - "description": "<p>A <i>calm</i> space to relax, where the city meets the woods.</p>"
}
}
/api/v2/areas/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "da3232a2-a47e-49a7-bfff-b00751c00ead",
- "type": "Area",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "a57d16f1-41ce-4072-a5e9-bcbfe68183f8",
- "type": "Area",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
To obtain your client_id and client_secret please visit 'Admin > Tools > Public API Access' within your Go Vocal platform. If this feature is not enabled on your platform then please contact support@govocal.com. Authenticate with your client_id and client_secret to retrieve a JWT token. You need to send the JWT token you got back along with every request to the API, as part of the Authorization
header. The JWT token expires after 24h, so make sure to re-authenticate.
Retrieve a JWT token for authentication.
Endpoint to authenticate using client_id and client_secret to retrieve a JWT token.
Request Body schema: application/json
object | |||||
|
Responses
Request samples
- Payload
{- "auth": {
- "client_id": "string",
- "client_secret": "string"
}
}
Response samples
- 201
{- "jwt": "eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE3MzQ3ODIxMTYsInN1YiI6IjRhN2U2NWE0LWQ5NjQtNGI1Mi1iNzcyLTc2OTU1MjAwNmM2OSJ9.NAwXPCri13zbWrtkMvxvd_FbeRschDCBsFIxsJ0k-vzm7vEXv-etmDcVTs6mi9Ix7fvGlRJctu7HKsey0HLQ-HQ9G5VYL3BYrNGSe5u-0ooSfF_WL96RMx9SLipMDCmU5XDij9QfSUDmsLj0YA0zu-BzyVuZMJs70bYh9nySPHvQZfu4f1W9D4SiO6bWkiOQOL3Sr43sFPC1b2eMv_VOebBXhOhdS993hfRcxy8M_Tuvi2CozIRJzEnLeyTslVHlQfjpVjnc4Ai5OdA3X0chkRJz2SdbWW4QMWanFNGXWd1olVm7y_t7w-Kmpnvxb3gQhIKYr6i3wvTKq-HeJczpXw"
}
When a user votes for an idea, a basket
is created per user for the project or phase. An association is then created between the basket and the idea voted for and stored with the number of votes. Votes are not counted unless the basket has been submitted.
List associations between baskets and ideas
Basket idea associations define which ideas a user has voted for. The votes
field defines how many votes a user has given to the idea or in the case of budgeting projects/phases, how much budget they have allocated.
Authorizations:
query Parameters
idea_id | string Filter by idea ID |
basket_id | string Filter by basket ID |
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "basket_ideas": [
- {
- "id": "ee67bd70-1f22-478d-a319-da3233bd626a",
- "basket_id": "e742c925-5e9d-419a-8a31-08320236522b",
- "idea_id": "0f19abf0-4f61-409c-a732-18f1c8766901",
- "votes": 750,
- "created_at": "2024-12-20T11:55:17.025Z",
- "updated_at": "2024-12-20T11:55:17.025Z",
- "phase_id": "3eaa0c1f-b1c7-4a48-8d70-246ed5a0c036",
- "project_id": "ae22b203-45c0-4596-add9-911a9ce0427a",
- "user_id": "fb14919f-06da-47ea-b848-4bf9e21df0be"
}, - {
- "id": "c3d285a8-f00b-4dbd-9b10-caa8d5f1c5d1",
- "basket_id": "80df5cf8-7fe3-42e6-a58f-ea33e1af929a",
- "idea_id": "5d02e91c-cbd7-4eac-9e72-6dd908ffd251",
- "votes": 750,
- "created_at": "2024-12-20T11:55:16.918Z",
- "updated_at": "2024-12-20T11:55:16.918Z",
- "phase_id": "a0daafdf-b38f-45f7-80d8-43a6bb9656ec",
- "project_id": "67d613d5-587e-47b2-8847-9526aab375a0",
- "user_id": "ca69e506-91fc-4cbf-a4e5-3cc108ee5aaf"
}, - {
- "id": "802e1500-4d00-4d0b-b8cd-5a220eedd000",
- "basket_id": "e09296a7-3dad-4727-97fa-240721145aef",
- "idea_id": "2541035b-4d6a-4b7b-aaa2-82c4c75689b5",
- "votes": 750,
- "created_at": "2024-12-20T11:55:16.807Z",
- "updated_at": "2024-12-20T11:55:16.807Z",
- "phase_id": "0907ece4-7fd9-4a7d-9367-c2d83946afe5",
- "project_id": "a49eb3df-379c-4163-8931-c210064c732d",
- "user_id": "a2f8e64e-c2a6-42d1-a751-6bf96d64dc35"
}, - {
- "id": "c075b9d2-75ba-485d-b3b6-63714523c24e",
- "basket_id": "cb6ac8f9-61f3-41be-862e-28ec6cf00cac",
- "idea_id": "2282acdd-5d7e-4006-8691-ed7aba14db05",
- "votes": 750,
- "created_at": "2024-12-20T11:55:16.663Z",
- "updated_at": "2024-12-20T11:55:16.663Z",
- "phase_id": "c27fc85f-d70e-4bc8-b45e-be30b5c655bd",
- "project_id": "7fce6833-b6d4-439e-b036-5f2c4861510c",
- "user_id": "577f7bca-8d38-4830-b2c5-54c6c2cd70e2"
}, - {
- "id": "c4cbe0e1-beed-4dde-b8b3-0941128c98e2",
- "basket_id": "09435cf7-4f8e-4c82-82af-69fe8af8b0c2",
- "idea_id": "653c1356-d29a-4dfe-ad3c-92bb75e58b38",
- "votes": 750,
- "created_at": "2024-12-20T11:55:16.446Z",
- "updated_at": "2024-12-20T11:55:16.446Z",
- "phase_id": "2bfe22ac-19cd-4844-893d-b4320a2d7718",
- "project_id": "563dc806-594d-4b54-976f-33253d04b56c",
- "user_id": "49cc9e04-9de5-4c29-9705-b52be996a9d6"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
/api/v2/basket_ideas/deleted
Authorizations:
query Parameters
idea_id | string Filter by idea ID |
basket_id | string Filter by basket ID |
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "5853742c-dbf5-4f9d-ba79-c0a24899ca23",
- "type": "BasketIdea",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "b71ad38b-f77d-4506-a960-ab80ab6bc827",
- "type": "BasketIdea",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
List all baskets
A user will get a single basket per voting phase or project. Votes (stored in basket ideas) remain uncounted until the basket is submitted and there is a submitted_at
date within the basket
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "baskets": [
- {
- "id": "deab1b79-e795-4dd5-987f-39ef27bd6ce3",
- "user_id": "370abe18-2c99-4bad-8d6e-0e630db4429b",
- "project_id": "8cde8763-1487-4b5d-9573-42fcadfd66b4",
- "phase_id": "76e5eaaa-9b6c-4273-ae4f-88d5c41fe397",
- "submitted_at": "2018-09-13T08:51:08.000Z",
- "created_at": "2024-12-20T11:55:18.789Z",
- "updated_at": "2024-12-20T11:55:18.789Z"
}, - {
- "id": "77b21719-ee3c-4810-8c8d-977172004cc4",
- "user_id": "83ff3575-7b69-4e39-b997-95182a715045",
- "project_id": "a564aa3d-e710-4158-92af-f81d413e947f",
- "phase_id": "befa2318-3bee-4d4a-be40-e6ffdaf83ab4",
- "submitted_at": "2018-09-13T08:51:08.000Z",
- "created_at": "2024-12-20T11:55:18.749Z",
- "updated_at": "2024-12-20T11:55:18.749Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 2
}
}
Get a single basket
Retrieve a single basket by its ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "basket": {
- "id": "f28b3bb6-6a2f-4168-8d2e-8a82807fbec1",
- "user_id": "3365179a-3aa8-435c-bd94-969516f426fd",
- "project_id": "f97792bd-ad87-4918-af0a-cd07830fb1ea",
- "phase_id": "c4948d40-e8b6-4a68-b367-8cea2fe3126d",
- "submitted_at": "2018-09-13T08:51:08.000Z",
- "created_at": "2024-12-20T11:55:19.777Z",
- "updated_at": "2024-12-20T11:55:19.777Z"
}
}
/api/v2/baskets/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "6d9d92ed-fb5b-4f10-9320-29fe6f9ee725",
- "type": "Basket",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "0af0c691-adc9-44f1-b7ab-e7605e5149b7",
- "type": "Basket",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
List all comments
Retrieve a paginated list of all the comments in the platform. You can filter the comments in different ways. For example, you can filter by "post type", or by date range.
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
post_type | string Enum: "idea" "initiative" List only the comments that were posted on a specific type of resource. |
Responses
Response samples
- 200
- 400
{- "comments": [
- {
- "id": "963bb985-78bc-4551-a36f-91353f1c2542",
- "body": "<p>I think this is a very good idea!</p>",
- "author_id": "80ac73bc-fb9a-4aae-8c28-882b703cbfd2",
- "post_id": "974e74e8-057d-4ac3-b4a0-9c7c54c058ad",
- "parent_id": null,
- "created_at": "2020-01-01T00:00:00.000Z",
- "updated_at": "2024-12-20T11:55:20.826Z",
- "body_updated_at": null,
- "likes_count": 0,
- "dislikes_count": 0,
- "children_count": 0,
- "publication_status": "published",
- "post_type": "initiative",
- "project_id": null
}, - {
- "id": "56ae6ebb-7eb7-4f18-ad6a-f594c7c6d320",
- "body": "<p>I think this is a very good idea!</p>",
- "author_id": "8cb41561-672a-4c19-9847-b955303174eb",
- "post_id": "e2bbeac1-23c7-448b-8de2-b8aeb24eb60d",
- "parent_id": null,
- "created_at": "2020-01-01T00:00:00.000Z",
- "updated_at": "2024-12-20T11:55:20.761Z",
- "body_updated_at": null,
- "likes_count": 0,
- "dislikes_count": 0,
- "children_count": 0,
- "publication_status": "published",
- "post_type": "initiative",
- "project_id": null
}, - {
- "id": "c850ce0b-2b48-4049-a840-01cf5705ccca",
- "body": "<p>I think this is a very good idea!</p>",
- "author_id": "2dbe7b84-98d9-4535-8c53-b82e56e73a4f",
- "post_id": "6418c640-3575-4381-91ba-35cce448d75b",
- "parent_id": null,
- "created_at": "2020-01-01T00:00:00.000Z",
- "updated_at": "2024-12-20T11:55:20.657Z",
- "body_updated_at": null,
- "likes_count": 0,
- "dislikes_count": 0,
- "children_count": 0,
- "publication_status": "published",
- "post_type": "idea",
- "project_id": "53a7df69-da46-445f-a321-feaf715e27c4"
}, - {
- "id": "d83d7f0e-b00e-4318-ae8f-093a42adfb38",
- "body": "<p>I think this is a very good idea!</p>",
- "author_id": "afd8f13a-fc5d-4e9c-b05d-4636ce279fc0",
- "post_id": "cb46dfca-01c3-437c-b27a-316db85a5b04",
- "parent_id": null,
- "created_at": "2020-01-01T00:00:00.000Z",
- "updated_at": "2024-12-20T11:55:20.568Z",
- "body_updated_at": null,
- "likes_count": 0,
- "dislikes_count": 0,
- "children_count": 0,
- "publication_status": "published",
- "post_type": "idea",
- "project_id": "f4f684d2-e411-4873-bc31-500e3a177b67"
}, - {
- "id": "b9c27a0c-3e58-401c-b908-f6bef3aed195",
- "body": "<p>I think this is a very good idea!</p>",
- "author_id": "76d56d45-058f-4043-ad47-a4d85ed3d78f",
- "post_id": "3652ca07-be76-4e6a-9554-0656563d2de1",
- "parent_id": null,
- "created_at": "2020-01-01T00:00:00.000Z",
- "updated_at": "2024-12-20T11:55:20.473Z",
- "body_updated_at": null,
- "likes_count": 0,
- "dislikes_count": 0,
- "children_count": 0,
- "publication_status": "published",
- "post_type": "idea",
- "project_id": "c1658d6d-60be-429d-8e42-ef4f711148b8"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
Get comment
Retrieve a single comment by its ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "comment": {
- "id": "b9c27a0c-3e58-401c-b908-f6bef3aed195",
- "body": "<p>I think this is a very good idea!</p>",
- "author_id": "76d56d45-058f-4043-ad47-a4d85ed3d78f",
- "post_id": "3652ca07-be76-4e6a-9554-0656563d2de1",
- "parent_id": null,
- "created_at": "2020-01-01T00:00:00.000Z",
- "updated_at": "2024-12-20T11:55:22.067Z",
- "body_updated_at": null,
- "likes_count": 0,
- "dislikes_count": 0,
- "children_count": 0,
- "publication_status": "published",
- "post_type": "idea",
- "project_id": "c1658d6d-60be-429d-8e42-ef4f711148b8"
}
}
/api/v2/comments/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "0c465202-c128-453b-aefb-c8af59891ea4",
- "type": "Comment",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "f482cddd-5102-4d0b-9188-c24c0c4ceff5",
- "type": "Comment",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
List email campaign deliveries
List all the emails that have been sent out for all campaigns.
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "email_campaign_deliveries": [
- {
- "id": "fd4963c4-e4e7-4c17-b86f-269f1d14d022",
- "email_campaign_id": "d3586fe9-63fb-47c7-92d7-0ea6af0b392c",
- "user_id": "4678ca6f-3fec-4aa8-b572-cfa4ab0c140a",
- "delivery_status": "sent",
- "sent_at": "2024-12-20T11:55:22.529Z",
- "created_at": "2024-12-20T11:55:22.529Z",
- "updated_at": "2024-12-20T11:55:22.529Z"
}, - {
- "id": "080ab298-50f6-4b90-80ce-0d35db07f0a6",
- "email_campaign_id": "d3586fe9-63fb-47c7-92d7-0ea6af0b392c",
- "user_id": "2874c656-1b3b-43b1-bf7a-f45b0b11a03f",
- "delivery_status": "sent",
- "sent_at": "2024-12-20T11:55:22.511Z",
- "created_at": "2024-12-20T11:55:22.512Z",
- "updated_at": "2024-12-20T11:55:22.512Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 3
}
}
Get an email campaign delivery
Retrieve a single email campaign delivery by its ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "email_campaign_delivery": {
- "id": "69bde52d-5289-496e-97df-4a461496919d",
- "email_campaign_id": "50e48ccd-24f2-4a74-bc7c-ff298e9c34b0",
- "user_id": "bb72932b-26e0-4028-b3f9-1618391651d6",
- "delivery_status": "sent",
- "sent_at": "2024-12-20T11:55:23.383Z",
- "created_at": "2024-12-20T11:55:23.383Z",
- "updated_at": "2024-12-20T11:55:23.383Z"
}
}
/api/v2/email_campaign_deliveries/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "888c0018-af43-445b-af58-29ca92e5fee5",
- "type": "EmailCampaignDelivery",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "e405930b-cdb5-45ea-bcfa-a51acffcfa71",
- "type": "EmailCampaignDelivery",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
List email campaigns
List all manually created emails campaigns
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "email_campaigns": [
- {
- "id": "7ed9b043-b5ef-4286-a49f-ed4956339efe",
- "sender": "author",
- "reply_to": "someguy@somecity.com",
- "subject": "We're almost done with your feedback",
- "body": "Time to check it all out!",
- "created_at": "2024-12-20T11:55:24.034Z",
- "updated_at": "2024-12-20T11:55:24.034Z",
- "deliveries_count": 0,
- "subject_multiloc": {
- "en": "We're almost done with your feedback"
}, - "body_multiloc": {
- "en": "Time to check it all out!"
}
}, - {
- "id": "1309399f-bdb8-4ce1-873c-c7a2e751f4e6",
- "sender": "author",
- "reply_to": "someguy@somecity.com",
- "subject": "We're almost done with your feedback",
- "body": "Time to check it all out!",
- "created_at": "2024-12-20T11:55:24.016Z",
- "updated_at": "2024-12-20T11:55:24.016Z",
- "deliveries_count": 0,
- "subject_multiloc": {
- "en": "We're almost done with your feedback"
}, - "body_multiloc": {
- "en": "Time to check it all out!"
}
}
], - "meta": {
- "current_page": 1,
- "total_pages": 3
}
}
Get an email campaign
Retrieve a single email campaign by its ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "email_campaign": {
- "id": "3cba3d43-0e12-4ad8-83bc-9ef20fb880df",
- "sender": "author",
- "reply_to": "someguy@somecity.com",
- "subject": "We're almost done with your feedback",
- "body": "Time to check it all out!",
- "created_at": "2024-12-20T11:55:24.919Z",
- "updated_at": "2024-12-20T11:55:24.919Z",
- "deliveries_count": 0,
- "subject_multiloc": {
- "en": "We're almost done with your feedback"
}, - "body_multiloc": {
- "en": "Time to check it all out!"
}
}
}
/api/v2/email_campaigns/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "786bd91d-987d-4a5c-9db8-6362751e143c",
- "type": "EmailCampaign",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "c75cbd12-6a60-4698-b567-9a46af377397",
- "type": "EmailCampaign",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
Events can be created in projects and residents can sign up to attend events (event_attendances).
List attendees of events
All users signed up to attend events.
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "event_attendances": [
- {
- "id": "df8a66c6-8104-43e9-8317-0edf575cf650",
- "event_id": "7e802cfa-6a14-434b-802e-6e99ac7eeb02",
- "attendee_id": "5c748e3c-90ae-4d19-aef3-89a957d73054",
- "created_at": "2024-12-20T11:55:26.033Z",
- "updated_at": "2024-12-20T11:55:26.033Z"
}, - {
- "id": "0f207e79-684b-4b36-a89c-755d80ddc032",
- "event_id": "f38e8022-6cf6-4466-81f4-a20893973128",
- "attendee_id": "6a1861d0-c190-4a4c-bb1d-a106f0807297",
- "created_at": "2024-12-20T11:55:25.991Z",
- "updated_at": "2024-12-20T11:55:25.991Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 3
}
}
Get an attendee
Retrieve a single event attendee by their ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "event_attendance": {
- "id": "48028a21-7713-48d4-9886-6f5bda740bb8",
- "event_id": "c5d9d44b-6c80-42b4-8818-96ae0c9385f7",
- "attendee_id": "6da9805c-d1cc-4c53-86b5-52fbfb42346e",
- "created_at": "2024-12-20T11:55:27.150Z",
- "updated_at": "2024-12-20T11:55:27.150Z"
}
}
/api/v2/event_attendances/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "58356cf3-065a-4f0a-8d6d-b966b76eeddc",
- "type": "EventAttendance",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "0c358665-1171-45a3-97a5-ee88134e98b7",
- "type": "EventAttendance",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
List all events
List all events created on the platform.
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "events": [
- {
- "id": "da96ad4a-4387-468e-bdd5-a92bdb1a97cb",
- "project_id": "aa46c968-3af0-48f2-b8dd-93e8d01b2d3a",
- "title": "Info session",
- "description": "<p>Be there and learn everything about our future!</p>",
- "location": "",
- "location_point": null,
- "attendees_count": 0,
- "start_at": "2017-05-01T20:00:00.000Z",
- "end_at": "2017-05-01T22:00:00.000Z",
- "created_at": "2024-12-20T11:55:28.197Z",
- "updated_at": "2024-12-20T11:55:28.197Z",
- "title_multiloc": {
- "en": "Info session",
- "nl-BE": "Info avond"
}, - "description_multiloc": {
- "en": "<p>Be there and learn everything about our future!</p>",
- "nl-BE": "<p>Kom en ontdek de toekomst!</p>"
}, - "location_multiloc": { }
}, - {
- "id": "90ce3819-9ef4-4670-94f8-d050d3ba7067",
- "project_id": "380e1a01-b750-467b-b235-7ba67d72d068",
- "title": "Info session",
- "description": "<p>Be there and learn everything about our future!</p>",
- "location": "",
- "location_point": null,
- "attendees_count": 0,
- "start_at": "2017-05-01T20:00:00.000Z",
- "end_at": "2017-05-01T22:00:00.000Z",
- "created_at": "2024-12-20T11:55:28.173Z",
- "updated_at": "2024-12-20T11:55:28.173Z",
- "title_multiloc": {
- "en": "Info session",
- "nl-BE": "Info avond"
}, - "description_multiloc": {
- "en": "<p>Be there and learn everything about our future!</p>",
- "nl-BE": "<p>Kom en ontdek de toekomst!</p>"
}, - "location_multiloc": { }
}
], - "meta": {
- "current_page": 1,
- "total_pages": 3
}
}
Get a single event
Retrieve a single event by its ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "event": {
- "id": "68e9666a-d161-443d-abed-1d23434b82de",
- "project_id": "544d9a9d-7634-4077-8f17-9eed80870d15",
- "title": "Info session",
- "description": "<p>Be there and learn everything about our future!</p>",
- "location": "",
- "location_point": null,
- "attendees_count": 0,
- "start_at": "2017-05-01T20:00:00.000Z",
- "end_at": "2017-05-01T22:00:00.000Z",
- "created_at": "2024-12-20T11:55:28.963Z",
- "updated_at": "2024-12-20T11:55:28.963Z",
- "title_multiloc": {
- "en": "Info session",
- "nl-BE": "Info avond"
}, - "description_multiloc": {
- "en": "<p>Be there and learn everything about our future!</p>",
- "nl-BE": "<p>Kom en ontdek de toekomst!</p>"
}, - "location_multiloc": { }
}
}
/api/v2/events/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "e6fb81a4-f580-4445-bde8-0febf3940e5e",
- "type": "Event",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "b90e59e0-2400-4792-a415-b2d15c9cd497",
- "type": "Event",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
Posts are written inputs created by citizens. These can be ideas, initiatives (proposals), or survey responses.
List relations between ideas and phases
Idea phases represent associations between ideas and phases. This is a many-to-many relationship: Ideas can belong to multiple phases, and phases can be associated with multiple ideas. Basket & vote counts on this object represent the votes cast on an idea within a particular voting phase.
Authorizations:
query Parameters
idea_id | string Filter by idea ID |
phase_id | string Filter by phase ID |
Responses
Response samples
- 200
{- "idea_phases": [
- {
- "idea_id": "856071c9-88bd-4946-aaa9-5a49ea173b83",
- "phase_id": "d577ccd0-577f-472e-b3b7-501bb7734d60",
- "baskets_count": 0,
- "votes_count": 0,
- "created_at": "2024-12-20T11:55:29.790Z",
- "updated_at": "2024-12-20T11:55:29.790Z"
}, - {
- "idea_id": "1491e939-d18c-4bea-a9c3-02dcf5309e20",
- "phase_id": "ff110ce9-cfe1-4611-a4e7-e014bad5de90",
- "baskets_count": 0,
- "votes_count": 0,
- "created_at": "2024-12-20T11:55:29.704Z",
- "updated_at": "2024-12-20T11:55:29.704Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
List ideas
Retrieve a paginated list of all the ideas in the platform, with the most recent ones appearing first.
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
author_id | string Filter by author ID |
project_id | string Filter by project ID |
topic_ids | Array of strings List only the ideas that have all of the specified topics |
type | string Enum: "idea" "survey" Filter by type of idea - idea or survey - returns both by default |
Responses
Response samples
- 200
{- "ideas": [
- {
- "id": "894711ce-ae7f-4a0c-9e8e-9e978c957e63",
- "title": "Plant more trees",
- "body": "<p>It would improve the air quality!</p>",
- "author_id": "c8186771-f85b-4046-b075-adbcb7663b65",
- "likes_count": 0,
- "dislikes_count": 0,
- "comments_count": 0,
- "published_at": "2024-12-20T11:55:31.289Z",
- "submitted_at": "2024-12-20T11:55:31.289Z",
- "publication_status": "published",
- "project_id": "07b2d207-b120-4e0b-8107-08539bb12712",
- "project_title": "Renew West Parc",
- "created_at": "2020-01-01T00:00:00.000Z",
- "updated_at": "2024-12-20T11:55:31.409Z",
- "location_point": "POINT (51.11520776293035 3.921154106874878)",
- "location_description": "Some road",
- "slug": "plant-more-trees-37",
- "budget": 750,
- "baskets_count": 0,
- "votes_count": 0,
- "official_feedbacks_count": 0,
- "assignee_id": null,
- "assigned_at": null,
- "proposed_budget": 500,
- "creation_phase_id": null,
- "images": [ ],
- "status": "At the mayor",
- "custom_field_values": {
- "audience_size": 3287,
- "audience_type": "young people"
}, - "type": "idea"
}, - {
- "id": "2a783a39-c9db-4aff-881e-5fbad2ac1cb0",
- "title": "Plant more trees",
- "body": "<p>It would improve the air quality!</p>",
- "author_id": "89a36c13-c025-4aac-9799-f134ea76e9cf",
- "likes_count": 0,
- "dislikes_count": 0,
- "comments_count": 0,
- "published_at": "2024-12-20T11:55:31.213Z",
- "submitted_at": "2024-12-20T11:55:31.213Z",
- "publication_status": "published",
- "project_id": "f48369f6-c6a1-4f85-9a7a-db4f7620be8f",
- "project_title": "Renew West Parc",
- "created_at": "2020-01-01T00:00:00.000Z",
- "updated_at": "2024-12-20T11:55:31.400Z",
- "location_point": "POINT (51.11520776293035 3.921154106874878)",
- "location_description": "Some road",
- "slug": "plant-more-trees-36",
- "budget": 750,
- "baskets_count": 0,
- "votes_count": 0,
- "official_feedbacks_count": 0,
- "assignee_id": null,
- "assigned_at": null,
- "proposed_budget": 500,
- "creation_phase_id": null,
- "images": [ ],
- "status": "At the mayor",
- "custom_field_values": {
- "audience_size": 438,
- "audience_type": "young people"
}, - "type": "idea"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 3
}
}
Get idea
Retrieve a single idea by its ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "idea": {
- "id": "67c7bdd8-a48f-443b-9b49-c7420f74d074",
- "title": "Plant more trees",
- "body": "<p>It would improve the air quality!</p>",
- "author_id": "96b4375a-c344-42f7-96a1-a235c86d0b0c",
- "likes_count": 0,
- "dislikes_count": 0,
- "comments_count": 0,
- "published_at": "2024-12-20T11:55:35.402Z",
- "submitted_at": "2024-12-20T11:55:35.402Z",
- "publication_status": "published",
- "project_id": "06644746-0515-48f8-9fe7-106f74a9d18c",
- "project_title": "Renew West Parc",
- "created_at": "2020-01-01T00:00:00.000Z",
- "updated_at": "2024-12-20T11:55:35.742Z",
- "location_point": "POINT (51.11520776293035 3.921154106874878)",
- "location_description": "Some road",
- "slug": "plant-more-trees-84",
- "budget": 750,
- "baskets_count": 0,
- "votes_count": 0,
- "official_feedbacks_count": 0,
- "assignee_id": null,
- "assigned_at": null,
- "proposed_budget": 500,
- "creation_phase_id": null,
- "images": [ ],
- "status": "At the mayor",
- "custom_field_values": {
- "audience_size": 2055,
- "audience_type": "young people"
}, - "type": "idea"
}
}
/api/v2/ideas/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "6bd325c1-38e6-4f45-b1e6-9c5e4518ef8f",
- "type": "Idea",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "b8d21d33-6199-4eff-a0ae-707ac6bf3884",
- "type": "Idea",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
List initiatives - known as proposals in the platform
Retrieve a paginated list of all the initiatives in the platform, with the most recent ones appearing first.
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "initiatives": [
- {
- "id": "43abd626-da33-4d7d-ba09-b4dc9560b385",
- "title": "Install water turbines on kanals",
- "body": "<p>Surely we'll gain huge amounts of green energy from this!</p>",
- "author_id": "0fddf3e3-468b-4f62-98d1-06adc20b8efc",
- "likes_count": 0,
- "dislikes_count": 0,
- "comments_count": 0,
- "published_at": "2024-12-20T11:55:38.183Z",
- "publication_status": "published",
- "created_at": "2020-01-01T00:00:00.000Z",
- "updated_at": "2024-12-20T11:55:38.183Z",
- "threshold_reached_at": null,
- "location_point": null,
- "location_description": null,
- "slug": "install-water-turbines-on-kanals-1",
- "official_feedbacks_count": 0,
- "assignee_id": null,
- "assigned_at": null,
- "title_multiloc": {
- "en": "Install water turbines on kanals",
- "nl-BE": "Waterturbines op kanalen installeren"
}, - "body_multiloc": {
- "en": "<p>Surely we'll gain huge amounts of green energy from this!</p>",
- "nl-BE": "<p>Hier zullen we vast wel hopen groene energie uit halen!</p>"
}
}, - {
- "id": "78a77ce0-114a-4f54-9696-a6498654b2fe",
- "title": "Install water turbines on kanals",
- "body": "<p>Surely we'll gain huge amounts of green energy from this!</p>",
- "author_id": "821d8fbf-1473-452c-9a66-e756d5ef06a1",
- "likes_count": 0,
- "dislikes_count": 0,
- "comments_count": 0,
- "published_at": "2024-12-20T11:55:38.069Z",
- "publication_status": "published",
- "created_at": "2020-01-01T00:00:00.000Z",
- "updated_at": "2024-12-20T11:55:38.069Z",
- "threshold_reached_at": null,
- "location_point": null,
- "location_description": null,
- "slug": "install-water-turbines-on-kanals",
- "official_feedbacks_count": 0,
- "assignee_id": null,
- "assigned_at": null,
- "title_multiloc": {
- "en": "Install water turbines on kanals",
- "nl-BE": "Waterturbines op kanalen installeren"
}, - "body_multiloc": {
- "en": "<p>Surely we'll gain huge amounts of green energy from this!</p>",
- "nl-BE": "<p>Hier zullen we vast wel hopen groene energie uit halen!</p>"
}
}
], - "meta": {
- "current_page": 1,
- "total_pages": 3
}
}
Get an initiative (proposal)
Retrieve a single initiative (proposal) by its ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "initiative": {
- "id": "0607baf9-81c2-499a-89e4-128185ec8572",
- "title": "Install water turbines on kanals",
- "body": "<p>Surely we'll gain huge amounts of green energy from this!</p>",
- "author_id": "bbb29a28-5238-466a-a903-84f01f9e85ec",
- "likes_count": 0,
- "dislikes_count": 0,
- "comments_count": 0,
- "published_at": "2024-12-20T11:55:39.527Z",
- "publication_status": "published",
- "created_at": "2020-01-01T00:00:00.000Z",
- "updated_at": "2024-12-20T11:55:39.713Z",
- "threshold_reached_at": null,
- "location_point": null,
- "location_description": null,
- "slug": "install-water-turbines-on-kanals",
- "official_feedbacks_count": 0,
- "assignee_id": null,
- "assigned_at": null,
- "title_multiloc": {
- "en": "Install water turbines on kanals",
- "nl-NL": "Waterturbines op kanalen installeren"
}, - "body_multiloc": {
- "en": "<p>Surely we'll gain huge amounts of green energy from this!</p>",
- "nl-BE": "<p>Hier zullen we vast wel hopen groene energie uit halen!</p>"
}
}
}
/api/v2/initiatives/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "58c210a5-8ed5-4bf7-8a8a-ed289678c64e",
- "type": "Initiative",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "66e474d7-b47c-4275-b879-fe23c7153000",
- "type": "Initiative",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
Topics, referred to as tags within the platform, are utilized to label the content on the platform, including project, contributions, and pages.
List relations between ideas and topics
Idea topics represent associations between ideas and topics. This is a many-to-many relationship: Ideas can have multiple topics, and topics can be associated with multiple ideas.
Authorizations:
query Parameters
idea_id | string Filter by idea ID |
topic_id | string Filter by topic ID |
Responses
Response samples
- 200
{- "idea_topics": [
- {
- "idea_id": "43d52ec8-2448-485b-a732-1bc81dc63ee5",
- "topic_id": "871337c6-94fa-453b-9deb-465ac4f3c79e"
}, - {
- "idea_id": "43d52ec8-2448-485b-a732-1bc81dc63ee5",
- "topic_id": "1de60be0-6f31-4e22-b6d0-1679ef1422e4"
}, - {
- "idea_id": "d5b8a26c-632c-4511-afcb-5e99622581cb",
- "topic_id": "046b6e0e-c161-48cb-a3b8-bc4d93d3ba8d"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
List associations between topics and projects
Project topics represent associations between projects and topics. This is a many-to-many relationship: Projects can have multiple topics, and topics can be associated with multiple projects.
Authorizations:
query Parameters
project_id | string Filter by project ID |
topic_id | string Filter by topic ID |
Responses
Response samples
- 200
{- "project_topics": [
- {
- "project_id": "fd035493-8d24-474b-8cf4-cfc5bb42a719",
- "topic_id": "10703f1c-c2dd-4ec2-9f86-66f87bf72bcf",
- "created_at": "2024-12-20T11:55:44.207Z",
- "updated_at": "2024-12-20T11:55:44.207Z"
}, - {
- "project_id": "fd035493-8d24-474b-8cf4-cfc5bb42a719",
- "topic_id": "41af3484-961b-4210-8404-51c921d57042",
- "created_at": "2024-12-20T11:55:44.205Z",
- "updated_at": "2024-12-20T11:55:44.205Z"
}, - {
- "project_id": "ccd04ff0-6728-4fbf-b46c-9a641c5ee0c4",
- "topic_id": "36c9bb07-27c9-49d9-a956-8291af45d6f5",
- "created_at": "2024-12-20T11:55:44.196Z",
- "updated_at": "2024-12-20T11:55:44.196Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
List topics
Retrieve a paginated list of all the topics in the platform, with the most recently created ones first.
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "topics": [
- {
- "id": "3fb95f43-68ac-451f-90a9-69be24c6f171",
- "title": "Topic 22 (en)",
- "description": "Topic-22 description (en)",
- "created_at": "2024-12-20T11:55:48.200Z",
- "updated_at": "2024-12-20T11:55:48.200Z"
}, - {
- "id": "bcf78c36-7bc8-4b88-8a13-9d71f80e60e6",
- "title": "Topic 21 (en)",
- "description": "Topic-21 description (en)",
- "created_at": "2024-12-20T11:55:48.197Z",
- "updated_at": "2024-12-20T11:55:48.200Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 3
}
}
Get topic
Retrieve a single topic by its ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "topic": {
- "id": "6c7afaae-9ad5-47a8-9dc3-e2649185bb84",
- "title": "Topic 39 (en)",
- "description": "Topic-39 description (en)",
- "created_at": "2024-12-20T11:55:48.596Z",
- "updated_at": "2024-12-20T11:55:48.607Z"
}
}
/api/v2/topics/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "d93d8af5-be19-48e9-a6b6-25e57fd07e82",
- "type": "Topic",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "9cb33a4d-28ce-4140-ad1c-4d0fb5edd013",
- "type": "Topic",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
List phases
Retrieve a paginated list of all the phases in the platform, with the most recently created ones first.
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
start_at | string List only phases whose start date lies in the specified range. The range is specified as two dates separated by a comma: |
end_at | string List only phases whose end date lies in the specified range. The range is specified as two dates separated by a comma: |
Responses
Response samples
- 200
{- "phases": [
- {
- "id": "cd200ab2-80c6-4778-8a6b-cbec89db472a",
- "title": "Idea phase",
- "description": "<p>In this phase we gather ideas. Don't be shy, there are no stupid ideas!</p>",
- "participation_method": "ideation",
- "project_id": "83a5c931-9d7c-4a3c-b82d-f001744209c2",
- "project_title": "Renew West Parc",
- "start_at": "2025-03-23",
- "end_at": "2025-04-05",
- "created_at": "2024-12-20T11:55:41.134Z",
- "updated_at": "2024-12-20T11:55:41.134Z",
- "ideas_count": 0,
- "baskets_count": 0,
- "votes_count": 0,
- "submission_enabled": true,
- "autoshare_results_enabled": true,
- "commenting_enabled": true,
- "reacting_enabled": true,
- "reacting_like_method": "unlimited",
- "reacting_like_limited_max": 10,
- "reacting_dislike_enabled": true,
- "reacting_dislike_method": "unlimited",
- "reacting_dislike_limited_max": 10,
- "voting_max_total": 10000,
- "voting_min_total": 1
}, - {
- "id": "5c77478b-540c-4979-b11c-ff4bfcf5bc57",
- "title": "Idea phase",
- "description": "<p>In this phase we gather ideas. Don't be shy, there are no stupid ideas!</p>",
- "participation_method": "ideation",
- "project_id": "83a5c931-9d7c-4a3c-b82d-f001744209c2",
- "project_title": "Renew West Parc",
- "start_at": "2025-01-20",
- "end_at": "2025-03-22",
- "created_at": "2024-12-20T11:55:41.123Z",
- "updated_at": "2024-12-20T11:55:41.123Z",
- "ideas_count": 0,
- "baskets_count": 0,
- "votes_count": 0,
- "submission_enabled": true,
- "autoshare_results_enabled": true,
- "commenting_enabled": true,
- "reacting_enabled": true,
- "reacting_like_method": "unlimited",
- "reacting_like_limited_max": 10,
- "reacting_dislike_enabled": true,
- "reacting_dislike_method": "unlimited",
- "reacting_dislike_limited_max": 10,
- "voting_max_total": 10000,
- "voting_min_total": 1
}
], - "meta": {
- "current_page": 1,
- "total_pages": 3
}
}
List all the phases of a project
Endpoint to retrieve phases of a single project. The phases are returned in reverse order of date created. The endpoint supports pagination.
Authorizations:
path Parameters
project_id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "phases": [
- {
- "id": "2dd6b586-eb8e-4651-9e98-759a9259fd87",
- "title": "Idea phase",
- "description": "<p>In this phase we gather ideas. Don't be shy, there are no stupid ideas!</p>",
- "participation_method": "ideation",
- "project_id": "916d9b10-6c20-4a84-b201-21a4deb04d4f",
- "project_title": "Renew West Parc",
- "start_at": "2025-05-08",
- "end_at": "2025-06-19",
- "created_at": "2024-12-20T11:55:42.483Z",
- "updated_at": "2024-12-20T11:55:42.483Z",
- "ideas_count": 0,
- "baskets_count": 0,
- "votes_count": 0,
- "submission_enabled": true,
- "autoshare_results_enabled": true,
- "commenting_enabled": true,
- "reacting_enabled": true,
- "reacting_like_method": "unlimited",
- "reacting_like_limited_max": 10,
- "reacting_dislike_enabled": true,
- "reacting_dislike_method": "unlimited",
- "reacting_dislike_limited_max": 10,
- "voting_max_total": 10000,
- "voting_min_total": 1
}, - {
- "id": "97fd26e9-9571-4123-a5aa-738e946257eb",
- "title": "Idea phase",
- "description": "<p>In this phase we gather ideas. Don't be shy, there are no stupid ideas!</p>",
- "participation_method": "ideation",
- "project_id": "916d9b10-6c20-4a84-b201-21a4deb04d4f",
- "project_title": "Renew West Parc",
- "start_at": "2025-03-29",
- "end_at": "2025-05-07",
- "created_at": "2024-12-20T11:55:42.469Z",
- "updated_at": "2024-12-20T11:55:42.469Z",
- "ideas_count": 0,
- "baskets_count": 0,
- "votes_count": 0,
- "submission_enabled": true,
- "autoshare_results_enabled": true,
- "commenting_enabled": true,
- "reacting_enabled": true,
- "reacting_like_method": "unlimited",
- "reacting_like_limited_max": 10,
- "reacting_dislike_enabled": true,
- "reacting_dislike_method": "unlimited",
- "reacting_dislike_limited_max": 10,
- "voting_max_total": 10000,
- "voting_min_total": 1
}, - {
- "id": "14c198cc-d50c-44cf-bec9-c66f7701e63a",
- "title": "Idea phase",
- "description": "<p>In this phase we gather ideas. Don't be shy, there are no stupid ideas!</p>",
- "participation_method": "ideation",
- "project_id": "916d9b10-6c20-4a84-b201-21a4deb04d4f",
- "project_title": "Renew West Parc",
- "start_at": "2025-03-03",
- "end_at": "2025-03-28",
- "created_at": "2024-12-20T11:55:42.456Z",
- "updated_at": "2024-12-20T11:55:42.456Z",
- "ideas_count": 0,
- "baskets_count": 0,
- "votes_count": 0,
- "submission_enabled": true,
- "autoshare_results_enabled": true,
- "commenting_enabled": true,
- "reacting_enabled": true,
- "reacting_like_method": "unlimited",
- "reacting_like_limited_max": 10,
- "reacting_dislike_enabled": true,
- "reacting_dislike_method": "unlimited",
- "reacting_dislike_limited_max": 10,
- "voting_max_total": 10000,
- "voting_min_total": 1
}, - {
- "id": "86d4704d-070f-47e4-a443-31ea0709dadc",
- "title": "Idea phase",
- "description": "<p>In this phase we gather ideas. Don't be shy, there are no stupid ideas!</p>",
- "participation_method": "ideation",
- "project_id": "916d9b10-6c20-4a84-b201-21a4deb04d4f",
- "project_title": "Renew West Parc",
- "start_at": "2024-12-30",
- "end_at": "2025-03-02",
- "created_at": "2024-12-20T11:55:42.443Z",
- "updated_at": "2024-12-20T11:55:42.443Z",
- "ideas_count": 0,
- "baskets_count": 0,
- "votes_count": 0,
- "submission_enabled": true,
- "autoshare_results_enabled": true,
- "commenting_enabled": true,
- "reacting_enabled": true,
- "reacting_like_method": "unlimited",
- "reacting_like_limited_max": 10,
- "reacting_dislike_enabled": true,
- "reacting_dislike_method": "unlimited",
- "reacting_dislike_limited_max": 10,
- "voting_max_total": 10000,
- "voting_min_total": 1
}, - {
- "id": "75064b6e-98ae-4ba5-873b-337f86756ed8",
- "title": "Idea phase",
- "description": "<p>In this phase we gather ideas. Don't be shy, there are no stupid ideas!</p>",
- "participation_method": "ideation",
- "project_id": "916d9b10-6c20-4a84-b201-21a4deb04d4f",
- "project_title": "Renew West Parc",
- "start_at": "2024-12-18",
- "end_at": "2024-12-29",
- "created_at": "2024-12-20T11:55:42.431Z",
- "updated_at": "2024-12-20T11:55:42.431Z",
- "ideas_count": 0,
- "baskets_count": 0,
- "votes_count": 0,
- "submission_enabled": true,
- "autoshare_results_enabled": true,
- "commenting_enabled": true,
- "reacting_enabled": true,
- "reacting_like_method": "unlimited",
- "reacting_like_limited_max": 10,
- "reacting_dislike_enabled": true,
- "reacting_dislike_method": "unlimited",
- "reacting_dislike_limited_max": 10,
- "voting_max_total": 10000,
- "voting_min_total": 1
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
Get phase
Retrieve a single phase by its ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "phase": {
- "id": "cf7faac6-d378-41cf-b988-a455e16e7a6f",
- "title": "Idea phase",
- "description": "<p>In this phase we gather ideas. Don't be shy, there are no stupid ideas!</p>",
- "participation_method": "ideation",
- "project_id": "f2656645-96c5-4eb9-88c7-8a6321e1b37c",
- "project_title": "Renew West Parc",
- "start_at": "2025-03-10",
- "end_at": "2025-04-14",
- "created_at": "2024-12-20T11:55:42.572Z",
- "updated_at": "2024-12-20T11:55:42.572Z",
- "ideas_count": 0,
- "baskets_count": 0,
- "votes_count": 0,
- "submission_enabled": true,
- "autoshare_results_enabled": true,
- "commenting_enabled": true,
- "reacting_enabled": true,
- "reacting_like_method": "unlimited",
- "reacting_like_limited_max": 10,
- "reacting_dislike_enabled": true,
- "reacting_dislike_method": "unlimited",
- "reacting_dislike_limited_max": 10,
- "voting_max_total": 10000,
- "voting_min_total": 1
}
}
/api/v2/phases/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "ab0de3f8-8b80-4cda-bc3b-d9999f05ee00",
- "type": "Phase",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "374ac2d3-adc4-4cf1-a4be-f357f95fbecb",
- "type": "Phase",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
List project folders
Retrieve a paginated list of all the project folders in the platform.
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
publication_status | string Enum: "draft" "published" "archived" List only project folders with the given publication status |
Responses
Response samples
- 200
{- "project_folders/folders": [
- {
- "id": "278d9856-910f-4a05-8b4d-8ed4f76578bf",
- "slug": "swimming-pools-3",
- "created_at": "2024-12-20T11:55:43.327Z",
- "updated_at": "2024-12-20T11:55:43.333Z",
- "publication_status": "published",
- "title_multiloc": {
- "en": "All things swimming pools",
- "nl-BE": "Alles rond zwembaden"
}, - "title": "All things swimming pools",
- "description_multiloc": {
- "en": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>",
- "nl-BE": "<p>Een <i>zwembad</i> is een bad waar mensen kunnen zwemmen. Tenzij ze niet kunnen zwemmen.</p>"
}, - "description": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>",
- "description_preview_multiloc": {
- "en": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>",
- "nl-BE": "<p>Een <i>zwembad</i> is een bad waar mensen kunnen zwemmen. Tenzij ze niet kunnen zwemmen.</p>"
}, - "description_preview": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>"
}, - {
- "id": "203f1173-2def-427c-9f94-e90926b94ff8",
- "slug": "swimming-pools-2",
- "created_at": "2024-12-20T11:55:43.307Z",
- "updated_at": "2024-12-20T11:55:43.312Z",
- "publication_status": "published",
- "title_multiloc": {
- "en": "All things swimming pools",
- "nl-BE": "Alles rond zwembaden"
}, - "title": "All things swimming pools",
- "description_multiloc": {
- "en": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>",
- "nl-BE": "<p>Een <i>zwembad</i> is een bad waar mensen kunnen zwemmen. Tenzij ze niet kunnen zwemmen.</p>"
}, - "description": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>",
- "description_preview_multiloc": {
- "en": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>",
- "nl-BE": "<p>Een <i>zwembad</i> is een bad waar mensen kunnen zwemmen. Tenzij ze niet kunnen zwemmen.</p>"
}, - "description_preview": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>"
}, - {
- "id": "6b592398-d76e-4f32-b329-38e3b92727d6",
- "slug": "swimming-pools-1",
- "created_at": "2024-12-20T11:55:43.295Z",
- "updated_at": "2024-12-20T11:55:43.299Z",
- "publication_status": "published",
- "title_multiloc": {
- "en": "All things swimming pools",
- "nl-BE": "Alles rond zwembaden"
}, - "title": "All things swimming pools",
- "description_multiloc": {
- "en": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>",
- "nl-BE": "<p>Een <i>zwembad</i> is een bad waar mensen kunnen zwemmen. Tenzij ze niet kunnen zwemmen.</p>"
}, - "description": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>",
- "description_preview_multiloc": {
- "en": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>",
- "nl-BE": "<p>Een <i>zwembad</i> is een bad waar mensen kunnen zwemmen. Tenzij ze niet kunnen zwemmen.</p>"
}, - "description_preview": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
Get project folder
Retrieve a single project folder by its ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "project_folders/folder": {
- "id": "140c5d6a-60a7-4bb0-957b-3eb9afa1e3d8",
- "slug": "swimming-pools-11",
- "created_at": "2024-12-20T11:55:43.915Z",
- "updated_at": "2024-12-20T11:55:43.920Z",
- "publication_status": "published",
- "title_multiloc": {
- "en": "All things swimming pools",
- "nl-BE": "Alles rond zwembaden"
}, - "title": "All things swimming pools",
- "description_multiloc": {
- "en": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>",
- "nl-BE": "<p>Een <i>zwembad</i> is een bad waar mensen kunnen zwemmen. Tenzij ze niet kunnen zwemmen.</p>"
}, - "description": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>",
- "description_preview_multiloc": {
- "en": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>",
- "nl-BE": "<p>Een <i>zwembad</i> is een bad waar mensen kunnen zwemmen. Tenzij ze niet kunnen zwemmen.</p>"
}, - "description_preview": "<p>A <i>swimming pool</i> is a pool where people swim. Unless they can't swim.</p>"
}
}
/api/v2/project_folders/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "088425ef-3f99-4edf-b50b-f16f955ff308",
- "type": "ProjectFolder",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "0c62249b-281e-4962-ac48-1027e447b8b2",
- "type": "ProjectFolder",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
Projects are participation scopes. They establish a framework, including the context, duration, and expected input, to encourage citizens to actively engage in focused discussions. Within these projects, citizens can contribute and post their ideas.
List projects
Retrieve a paginated list of all the projects in the platform, with the newest projects appearing first.
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
folder_id | string List only the projects that are in the specified folder. |
publication_status | string Enum: "draft" "published" "archived" List only the projects that have the specified publication status. |
topic_ids | Array of any List only the projects that have all the specified topics. |
area_ids | Array of any List only the projects that are in the specified areas. |
Responses
Response samples
- 200
- 400
{- "projects": [
- {
- "id": "308a990e-eeb0-468d-a2c2-2996466c5446",
- "title": "Renew West Parc",
- "description_html": "<p>Let's renew the parc at the city border and make it an enjoyable place for young and old.</p>",
- "description_preview": "Let's renew the parc at the city border and make it an enjoyable place for young and old.",
- "slug": "renew-west-parc-230",
- "folder_id": null,
- "visible_to": "public",
- "images": [ ],
- "created_at": "2024-12-20T11:55:44.533Z",
- "updated_at": "2024-12-20T11:55:44.537Z",
- "ideas_count": 0,
- "comments_count": 0,
- "map_center_geojson": null,
- "publication_status": "published"
}, - {
- "id": "8cebcc46-7ea7-41e9-b910-5cf9634c3d4d",
- "title": "Renew West Parc",
- "description_html": "<p>Let's renew the parc at the city border and make it an enjoyable place for young and old.</p>",
- "description_preview": "Let's renew the parc at the city border and make it an enjoyable place for young and old.",
- "slug": "renew-west-parc-229",
- "folder_id": null,
- "visible_to": "public",
- "images": [ ],
- "created_at": "2024-12-20T11:55:44.522Z",
- "updated_at": "2024-12-20T11:55:44.527Z",
- "ideas_count": 0,
- "comments_count": 0,
- "map_center_geojson": null,
- "publication_status": "published"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 3
}
}
Get project
Retrieve a single project by ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "project": {
- "id": "efd21d4c-a518-4517-a869-a0d554ecb311",
- "title": "Renew West Parc",
- "description_html": "<p>Let's renew the parc at the city border and make it an enjoyable place for young and old.</p>",
- "description_preview": "Let's renew the parc at the city border and make it an enjoyable place for young and old.",
- "slug": "renew-west-parc-279",
- "folder_id": null,
- "visible_to": "public",
- "images": [ ],
- "created_at": "2024-12-20T11:55:45.916Z",
- "updated_at": "2024-12-20T11:55:45.976Z",
- "ideas_count": 0,
- "comments_count": 0,
- "map_center_geojson": null,
- "publication_status": "published"
}
}
/api/v2/projects/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "9c91dd32-c0d1-4eeb-b59b-071b3177f541",
- "type": "Project",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "830ebefb-73f8-4630-82d6-8b4498e2d184",
- "type": "Project",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
List all reactions
Retrieve a paginated list of all the reactions in the platform. You can filter the reactions in different ways. For example, you can filter by "reactable type" (the type of resource that was reacted to), by user identifier, or by date range.
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
reactable_type | string Enum: "idea" "initiative" "comment" "idea-comment" "initiative-comment" List only the reactions that were cast on a specific type of resource. 'initiative' corresponds to proposals on the platform. 'idea-comment' and 'initiative-comment' filter reactions on comments on ideas and comments on proposals, respectively. |
user_id | string List only the reactions that were cast by a specific user. |
Responses
Response samples
- 200
- 400
{- "reactions": [
- {
- "id": "f6c325f6-4442-47be-a56f-fd782133e20d",
- "mode": "up",
- "user_id": "eeaf443e-6ba2-4fbc-aadb-5810b84253d1",
- "reactable_id": "68f7e31a-3c2f-4f12-89a6-817e6d4362b9",
- "created_at": "2020-01-03T00:00:00.000Z",
- "updated_at": "2021-01-03T00:00:00.000Z",
- "reactable_type": "comment",
- "post_type": "Idea",
- "post_id": "7822401a-efba-42ef-8586-a832a7fb487c",
- "project_id": "58cbdccd-2a01-430d-891b-11e35d5036ba"
}, - {
- "id": "8d5c3e1d-5de7-4d1c-ac2e-916fcecbf1d9",
- "mode": "up",
- "user_id": "f9d7a8af-ec03-4437-8609-f48ed5220e16",
- "reactable_id": "8f261604-c977-484c-b9d9-f707c0064eba",
- "created_at": "2020-01-01T00:00:00.000Z",
- "updated_at": "2021-01-01T00:00:00.000Z",
- "reactable_type": "idea",
- "post_type": "Idea",
- "post_id": "8f261604-c977-484c-b9d9-f707c0064eba",
- "project_id": "c0e2923f-c9f5-4ce1-b414-76d719f21a88"
}, - {
- "id": "97cd22fd-6f28-420c-86fa-865ca331a7f1",
- "mode": "up",
- "user_id": "9e4df28a-2f57-40e9-8d6f-5c009da54c98",
- "reactable_id": "fec3c650-6f09-452a-a822-e0401a5bbed8",
- "created_at": "2020-01-01T00:00:00.000Z",
- "updated_at": "2021-01-01T00:00:00.000Z",
- "reactable_type": "idea",
- "post_type": "Idea",
- "post_id": "fec3c650-6f09-452a-a822-e0401a5bbed8",
- "project_id": "ffdc7f7e-d140-443e-a5bb-3de9652c676c"
}, - {
- "id": "2614e612-3001-48f3-b93d-b2a3e47eb6b0",
- "mode": "up",
- "user_id": "32b70a80-3ba2-40f6-a9cd-77d0ef2cf5c8",
- "reactable_id": "5d5ca7b9-545f-4187-aa80-e475cf6b2af4",
- "created_at": "2020-01-01T00:00:00.000Z",
- "updated_at": "2021-01-01T00:00:00.000Z",
- "reactable_type": "idea",
- "post_type": "Idea",
- "post_id": "5d5ca7b9-545f-4187-aa80-e475cf6b2af4",
- "project_id": "3b5bf70c-6d30-48fa-8106-c3309f5751b3"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
List users
Retrieve a paginated list of all the users in the platform, with the most recently created ones first.
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "users": [
- {
- "id": "b06f60cb-fbb0-4514-9853-59a0ec89367c",
- "email": "tommy.collier462@kuhn.example",
- "slug": "lowell-kertzmann",
- "roles": [ ],
- "created_at": "2024-12-20T11:55:49.020Z",
- "updated_at": "2024-12-20T11:55:49.020Z",
- "first_name": "Lowell",
- "last_name": "Kertzmann",
- "locale": "en",
- "bio": "",
- "registration_completed_at": "2024-12-20T11:55:49.011Z",
- "verified": false,
- "email_confirmed_at": "2024-12-20T11:55:49.016Z",
- "email_confirmation_code_sent_at": null,
- "confirmation_required": false,
- "custom_field_values": {
- "gender": "unspecified",
- "education": "5"
}, - "status": "active"
}, - {
- "id": "d418d673-cbd8-471d-84cc-4eede3c98485",
- "email": "tameka.ohara461@hamill.example",
- "slug": "thora-pfeffer",
- "roles": [ ],
- "created_at": "2024-12-20T11:55:49.006Z",
- "updated_at": "2024-12-20T11:55:49.006Z",
- "first_name": "Thora",
- "last_name": "Pfeffer",
- "locale": "en",
- "bio": "",
- "registration_completed_at": "2024-12-20T11:55:48.997Z",
- "verified": false,
- "email_confirmed_at": "2024-12-20T11:55:49.001Z",
- "email_confirmation_code_sent_at": null,
- "confirmation_required": false,
- "custom_field_values": {
- "gender": "unspecified",
- "education": "4"
}, - "status": "active"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 3
}
}
Get user
Retrieve a single user by its ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "user": {
- "id": "84f6a658-68d7-439d-9a35-ddf23d149ccf",
- "email": "nubia_wilderman479@bogisich.test",
- "slug": "jesse-waelchi",
- "roles": [ ],
- "created_at": "2024-12-20T11:55:49.726Z",
- "updated_at": "2024-12-20T11:55:49.799Z",
- "first_name": "Jesse",
- "last_name": "Waelchi",
- "locale": "en",
- "bio": "Yes.",
- "registration_completed_at": "2024-12-20T11:55:49.714Z",
- "verified": false,
- "email_confirmed_at": "2024-12-20T11:55:49.722Z",
- "email_confirmation_code_sent_at": null,
- "confirmation_required": false,
- "custom_field_values": {
- "gender": "male"
}, - "status": "active"
}
}
/api/v2/users/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "01f0cd5b-a2f5-41ed-b4f3-690273eaf3af",
- "type": "User",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "2e6e64a1-e4af-4705-ad58-3ed93ceda74c",
- "type": "User",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
Volunteering endpoints provide details about the volunteering causes on the platform and users that have signed up as volunteers to those causes.
List volunteering causes
All volunteering causes added to the platform
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "volunteering_causes": [
- {
- "id": "3f83a4cd-fde8-4cb2-815d-3ae62be98975",
- "title": "Good cause 3",
- "description": "",
- "project_id": "9b9f94b5-4210-429c-98e9-ea12625169d8",
- "phase_id": "c507f186-e861-461a-8fc1-94d6d3b9f055",
- "volunteers_count": 0,
- "created_at": "2024-12-20T11:55:50.483Z",
- "updated_at": "2024-12-20T11:55:50.483Z",
- "title_multiloc": {
- "en": "Good cause 3",
- "nl-BE": "Goed doel 3"
}, - "description_multiloc": { }
}, - {
- "id": "f3a23629-069b-47aa-8c8d-85c6204a6dc1",
- "title": "Good cause 2",
- "description": "",
- "project_id": "a44de1b7-69a0-482b-8dff-1a624fde5b53",
- "phase_id": "555ca778-143d-4141-a4f9-30d8b92d4d47",
- "volunteers_count": 0,
- "created_at": "2024-12-20T11:55:50.456Z",
- "updated_at": "2024-12-20T11:55:50.456Z",
- "title_multiloc": {
- "en": "Good cause 2",
- "nl-BE": "Goed doel 2"
}, - "description_multiloc": { }
}
], - "meta": {
- "current_page": 1,
- "total_pages": 2
}
}
Get a volunteering cause
Retrieve a single volunteering cause by its ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "volunteering_cause": {
- "id": "43ecda58-1a20-48ce-b636-d66b86a276be",
- "title": "Good cause 16",
- "description": "",
- "project_id": "e3fa4f19-eb4f-4d2e-b92a-c9b07595e692",
- "phase_id": "7f8309e6-fba1-4ffb-8906-55e3ed7fd34c",
- "volunteers_count": 0,
- "created_at": "2024-12-20T11:55:51.173Z",
- "updated_at": "2024-12-20T11:55:51.173Z",
- "title_multiloc": {
- "en": "Good cause 16",
- "nl-BE": "Goed doel 16"
}, - "description_multiloc": { }
}
}
/api/v2/volunteering_causes/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "c4ee2fa8-a908-410c-ad06-ed1146b2cb48",
- "type": "VolunteeringCause",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "702cc2e7-ff1d-4fb0-bd33-7e6970ad28e0",
- "type": "VolunteeringCause",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}
List volunteers
All users signed up as volunteers against causes.
Authorizations:
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
page_size | integer The number of items that should be returned in one response. Defaults to 12, max 24 |
page_number | integer The page to return. Defaults to page 1 |
created_at | string Date the item was created - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
updated_at | string Date item was last updated - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "volunteering_volunteers": [
- {
- "id": "bf4e428f-4e55-4319-8ba2-f18a40c82de3",
- "volunteering_cause_id": "7ce86e59-062e-42fe-8436-0d17e5282d31",
- "user_id": "a449c6db-6be5-4603-ac0d-28fe5eae4018",
- "created_at": "2024-12-20T11:55:51.882Z",
- "updated_at": "2024-12-20T11:55:51.882Z"
}, - {
- "id": "04911365-2300-48e8-885f-737abbb175d3",
- "volunteering_cause_id": "4c5c16d2-420d-48d4-8c6d-20843bc6e0ab",
- "user_id": "37f89fa4-1a40-4187-81b5-5cd929b2cd31",
- "created_at": "2024-12-20T11:55:51.846Z",
- "updated_at": "2024-12-20T11:55:51.846Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 3
}
}
Get a volunteer
Retrieve a single volunteer by its ID.
Authorizations:
path Parameters
id required | integer Unique uuid for the item |
id required | string |
query Parameters
locale | string Which locale to return text for any multi-locale fields. For example: "en" or "fr-BE". If not provided, it will be set to the default language of the platform. |
Responses
Response samples
- 200
{- "volunteering_volunteer": {
- "id": "53043c6d-a6f0-4e8b-810c-a786ab02e596",
- "volunteering_cause_id": "3a98c253-361c-4ddf-a9e7-fa1b2779e3c4",
- "user_id": "195bc69d-aef6-48ae-ad1c-6b703cf5691f",
- "created_at": "2024-12-20T11:55:52.872Z",
- "updated_at": "2024-12-20T11:55:52.872Z"
}
}
/api/v2/volunteering_volunteers/deleted
Authorizations:
query Parameters
deleted_at | string Date item was deleted - in format "YYYY-DD-MM" - to filter between two dates separate with comma |
Responses
Response samples
- 200
{- "deleted_items": [
- {
- "id": "0a97a048-89ba-4033-b376-27e48cd0adad",
- "type": "VolunteeringVolunteer",
- "deleted_at": "2020-01-02T00:00:00.000Z"
}, - {
- "id": "828ebef7-be8c-41c4-80f8-3206b8d2b822",
- "type": "VolunteeringVolunteer",
- "deleted_at": "2020-01-01T00:00:00.000Z"
}
], - "meta": {
- "current_page": 1,
- "total_pages": 1
}
}