curl --request GET \
--url https://api.partoo.co/v2/sections \
--header 'x-APIKey: <api-key>'{
"page": 1,
"count": 6,
"max_page": 1,
"sections": [
{
"id": 1,
"name": "Country",
"groups": [
{
"id": 123,
"name": "<string>",
"has_puller": true
}
],
"can_edit": true,
"has_puller": true
}
]
}Get all the sections for an organization.
For more information about the group system, see the Groups and Sections description.
curl --request GET \
--url https://api.partoo.co/v2/sections \
--header 'x-APIKey: <api-key>'{
"page": 1,
"count": 6,
"max_page": 1,
"sections": [
{
"id": 1,
"name": "Country",
"groups": [
{
"id": 123,
"name": "<string>",
"has_puller": true
}
],
"can_edit": true,
"has_puller": true
}
]
}The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.
Was this page helpful?