List organisations

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://docs.getpenfold.dev/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Penfold Payroll API v4 MCP server": {
    "url": "https://docs.getpenfold.dev/mcp"
  }
}

Close
GET /organisations

Partner organisations only. A Payroll organisation calling this endpoint receives 405 Method Not Allowed.

Lists the organisations you manage, paged the same way as GET /employers.

Query parameters

  • page_size integer

    The maximum number of organisations to return per page.

    Minimum value is 1, maximum value is 500. Default value is 200.

  • page_number integer

    The page number to return in the list of organisations.

    Minimum value is 1. Default value is 1.

Responses

  • 200 application/json

    Organisations retrieved

    Hide response attributes Show response attributes object
    • page_number integer Required

      The current page number.

    • page_size integer Required

      The number of organisations per page.

    • total_items integer Required

      The total number of organisations available.

    • items array[object] Required

      An array of organisation objects on the current page.

      Hide items attributes Show items attributes object
      • id string Required

        Penfold organisation id. Use it as organisation_id.

      • display_name string Required

        The organisation's name, as shown on the Penfold Workplace Platform.

      • type string Required

        SingleEmployer organisations hold exactly one employer. MultiEmployer organisations hold several, for example a group of companies.

        Values are SingleEmployer or MultiEmployer.

      • created_at string(date-time) Required

        When the organisation was created (ISO 8601 UTC).

  • 400 application/json

    Bad request, the request is malformed or contains invalid data.

    Hide response attributes Show response attributes object
    • error string

      A descriptive error message.

    • validation_errors array[object]
      Hide validation_errors attributes Show validation_errors attributes object
      • field string Required

        The name of the field that failed validation.

      • message string Required

        A descriptive error message.

  • 401 application/json

    Missing or invalid authentication token

    Hide response attribute Show response attribute object
    • error string

      A descriptive error message.

  • 405 application/json

    Method not allowed. Partner organisations only.

    Hide response attribute Show response attribute object
    • error string

      A descriptive error message.

GET /organisations
curl \
 --request GET 'https://payroll-api.getpenfold.dev/v4/organisations' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "page_number": 1,
  "page_size": 200,
  "total_items": 3,
  "items": [
    {
      "id": "cmo1org000001abcd",
      "display_name": "Harbour Group",
      "type": "SingleEmployer",
      "created_at": "2026-05-04T09:42:00Z"
    }
  ]
}
Response examples (400)
{
  "error": "Bad request: invalid data provided.",
  "validation_errors": [
    {
      "field": "email",
      "message": "Email address is invalid."
    }
  ]
}
Response examples (401)
{
  "error": "Bad request: invalid data provided."
}
Response examples (405)
{
  "error": "Bad request: invalid data provided."
}