Skip to main content
GET
/
sections
Get Sections
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
    }
  ]
}

Authorizations

x-APIKey
string
header
required

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.

Query Parameters

page
integer
default:0

Page number. 30 results per page

org_id
integer

Organization id

Response

OK

page
integer
Example:

1

count
integer
Example:

6

max_page
integer
Example:

1

sections
object[]