User account management, workspace configuration, and country data.
Accounts API//
- ViewSet for viewing and changing authenticated user's workspaces (companies).
Accounts Countries List
Read-only ViewSet for country data using Country dataclass.
Accounts User Config List
Accounts User Config Partial Update
ViewSet for viewing and c...
Coolset Accounts API (1.0)
Download OpenAPI description
Overview
URL
E-mail
Languages
Servers
Mock server
https://api.coolset.com/_mock/accounts-api/
Production server
https://developers.coolset.com/api/
- Mock serverhttps://api.coolset.com/_mock/accounts-api/accounts/countries
- Production serverhttps://developers.coolset.com/api/accounts/countries
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.coolset.com/_mock/accounts-api/accounts/countries?limit=0&offset=0&search=string&name=string&alpha_2=string&alpha_3=string&numeric=string' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
[ { "name": "string", "alpha_2": "string", "alpha_3": "string", "numeric": "string", "official_name": "string", "flag": "string" } ]
- Mock serverhttps://api.coolset.com/_mock/accounts-api/accounts/countries/{id}
- Production serverhttps://developers.coolset.com/api/accounts/countries/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.coolset.com/_mock/accounts-api/accounts/countries/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
{ "name": "string", "alpha_2": "string", "alpha_3": "string", "numeric": "string", "official_name": "string", "flag": "string" }
- Mock serverhttps://api.coolset.com/_mock/accounts-api/accounts/user-config
- Production serverhttps://developers.coolset.com/api/accounts/user-config
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.coolset.com/_mock/accounts-api/accounts/user-config \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
{ "config": {}, "available_actions": [ "string" ], "company_type": "string" }
- Mock serverhttps://api.coolset.com/_mock/accounts-api/accounts/user-config
- Production serverhttps://developers.coolset.com/api/accounts/user-config
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://api.coolset.com/_mock/accounts-api/accounts/user-config \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"sign_stakeholder_agreement": true
}'Response
application/json
{ "config": {}, "available_actions": [ "string" ], "company_type": "string" }
- Mock serverhttps://api.coolset.com/_mock/accounts-api/accounts/workspaces
- Production serverhttps://developers.coolset.com/api/accounts/workspaces
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.coolset.com/_mock/accounts-api/accounts/workspaces?name=string&name__icontains=string&name__istartswith=string&name__iendswith=string&type=active&type__in=string&country=string&country__icontains=string&country__istartswith=string&country__iendswith=string&country__in=string&type__exclude=string&ordering=string&search=string&limit=0&offset=0' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
{ "count": 0, "next": "http://example.com", "previous": "http://example.com", "results": [ { … } ] }