Check whether an organization name is free (internal)

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.usehearsay.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "integrations MCP server": {
    "url": "https://docs.usehearsay.com/mcp"
  }
}

Close
POST /organization/validate-name

Returns isValid: false when any organization already uses the name (case-insensitive). No auth.

Headers

  • organization string Required

    id of the selected (active) organization

application/json

Body Required

  • name string Required

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • data object Required
      Hide data attribute Show data attribute object
      • isValid boolean Required
    • statusCode number Required
    • timestamp string(date-time) Required
POST /organization/validate-name
curl \
 --request POST 'http://api.example.com/organization/validate-name' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --header "organization: string" \
 --data '{
  "name": "string"
}'
Request examples
# Headers
organization: string

# Payload
{
  "name": "string"
}
Response examples (200)
{
  "data": {
    "isValid": true
  },
  "statusCode": 200,
  "timestamp": "2026-01-15T10:15:00.000Z"
}