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,
"business_count": 123
}
],
"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,
"business_count": 123
}
],
"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.
Page number. 30 results per page
Filter by organization ID. Only PROVIDER users can use this filter. If you are not a PROVIDER, this will default to the ID of your organization.
Was this page helpful?