Skip to main content
GET
/
sections
/
{section_id}
Get Section by ID
curl --request GET \
  --url https://api.partoo.co/v2/sections/{section_id} \
  --header 'x-APIKey: <api-key>'
{
  "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.

Path Parameters

section_id
string
required

Section id

Response

OK

id
integer

ID of the section

Example:

1

name
string

Name of the section, must be unique

Example:

"Country"

groups
object[]
can_edit
boolean

If the current user has the right to edit or delete the section, or one of the groups it contains

has_puller
boolean

If the section is connected to an automated data puller or not. Sections linked to pullers cannot be modified or deleted. Should you want to make any changes to a section connected to a puller, please contact support for assistance.