Communities API – Getting started
Use the Coolblue Closed Community Management API to integrate your systems with Coolblue's Closed Community platform.
Prerequisites
- An agreement with Coolblue to use the Closed Community platform.
- One or more communities configured (names, identifiers, allowed users).
-
Valid API credentials (
client_idandclient_secret) for the Communities API.
For credential request and sharing details, see Authentication.
Environments
The Communities API follows the same Acceptance and Production split as the other Business Journeys APIs.
| Environment | Base URL | Purpose |
|---|---|---|
| Acceptance | https://<acceptance-host>/communities-api |
Test your integration against non‑production communities and users. |
| Production | https://<production-host>/communities-api |
Use real communities and real users. |
See Environments for more information.
Authentication
Authentication uses OAuth 2.0 with client credentials. Obtain an access token and use
it as a Bearer token in the Authorization header.
curl -X POST \
"https://<acceptance-host>/oauth2/token" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET"
See Authentication for generic details.
Your first request
A typical first request is to list communities available for your integration. The exact shape of the response is described in the Communities API Swagger UI
ACCESS_TOKEN="eyJhbGciOi..."
curl -X GET \
"https://<acceptance-host>/communities-api/communities" \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
-H "Accept: application/json"
Common pitfalls
- Using production community identifiers in Acceptance or vice versa.
- Not aligning user identifiers between your system and the Communities platform.
- Confusing audience / membership configuration between environments.
Check the FAQ for Communities‑specific questions.
Support
For help with the Communities API, contact dev-business@coolblue.nl and mention that your question is about “Communities API”.
See Support for details on what to include.
Deep‑dive: Communities integration guide
For a full description of the Closed Community concepts and integration flows (onboarding, offboarding, remaining credit, SSO setup, orders and communication), see the detailed Community Management API integration guide.