GET All departments

Changed on

Com este endpoint você pode listar os departamentos da empresa. A resposta é paginada com 15 itens por página (use page para navegar; não há per_page).

get/api/departments

Request

  • Base URL
    https://app.plugsign.com.br
  • URL
    https://app.plugsign.com.br/api/departments
  • Auth
    API key in header Authorization

Query parameters

pageinteger

Número da página (15 departamentos por página). Padrão: 1.

Response

200

Example response

{
  "data": [
    {
      "id": 12,
      "name": "Comercial",
      "email": "comercial@exemplo.com"
    }
  ]
}

Changes

    • info

      added the new optional query request parameter page

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status