List accessible organizations

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://developer.pattern.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Hub API MCP server": {
    "url": "https://developer.pattern.com/mcp"
  }
}

Close
GET /v1/orgs

Returns organizations the authenticated token can access, with display names from 3PL customers. Use org_id as the X-Org-Id header on other Hub API calls. This endpoint does not require X-Org-Id.

Responses

  • 200 application/json

    organizations retrieved successfully

    Hide response attributes Show response attributes object
    • org_id string Required

      Organization ID — send as the X-Org-Id header on other API calls

    • display_name string Required

      3PL customer display name

GET /v1/orgs
curl \
 --request GET 'https://api.pattern.com/hub/v1/orgs' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "org_id": "string",
    "display_name": "string"
  }
]