Skip to main content
GET
/
departments
/
function
cURL
curl --request GET \
  --url https://api.pubrio.com/departments/function \
  --header 'pubrio-api-key: <api-key>'
{
  "data": [
    {
      "department_function_id": 53,
      "slug": "accounting",
      "name": "Accounting"
    },
    "..."
  ]
}

Authorizations

pubrio-api-key
string
header
required

A unique API token that represents the actions you perform through the API and the corresponding permissions and operations. You can create it through the Settings section.

Response

Successful response containing department function details.

data
object[] | null

Response info depends on specific endpoint.