Lists organizational departments (team units) for the API key’s team.
cURL
curl --request GET \ --url https://api.folkyn.com/api/v1/departments \ --header 'Authorization: Bearer <token>'
{ "data": { "items": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "total": 123, "current_page": 123, "per_page": 123 } }
Documentation IndexFetch the complete documentation index at: https://doc.folkyn.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://doc.folkyn.com/llms.txt
Use this file to discover all available pages before exploring further.
Use Authorization: Bearer <your_api_key>
Authorization: Bearer <your_api_key>
x >= 1
1 <= x <= 100
Success
Show child attributes