Rolebooks

Org chart PDF API for agents

An AI assistant can ask us to email a clean org chart PDF to a person who wants one. We email that person a confirmation link first, and send nothing until they confirm.

Title
Request a PDF on someone’s behalf
Output
PDF by email, after confirmation
Cost
Free, no key

Before you call it

Only call this for a person who asked for the chart and agreed that Rolebooks may email it to them and contact them by email or phone about it. Use the details they gave you; never invent a name, email address or phone number. Send role titles, not employee names. The caller’s consent must be true.

HTTP API

curl --fail-with-body https://getrolebooks.com/api/v1/org-chart/pdf-requests \
  -H 'Content-Type: application/json' \
  --data '{
    "company": "Example Service Co.",
    "roles": [
      {"title": "Service Manager", "reportsTo": null},
      {"title": "Dispatcher", "reportsTo": 0}
    ],
    "name": "Alex Example",
    "email": "alex@example.com",
    "phone": "+1 555 010 0199",
    "business_type": "HVAC",
    "employees": "Fewer than 15",
    "consent": true
  }'

Include 1–40 roles. reportsTo is the zero-based index of the manager, or null for a top-level role. Loops are invalid. business_type is one of HVAC, Plumbing, Electrical, Other home services or Other. employees is one of Fewer than 15, 15–30, 31–75 or 76 or more.

A 202 response means we emailed (or may have emailed) a confirmation link to the address. The PDF is never returned to the caller. Links expire after one hour. Each address can receive three requests a day, and the service limits requests per IP and overall. OpenAPI schema.

MCP

Connect a Streamable HTTP MCP client to https://getrolebooks.com/mcp and call request_org_chart_pdf with the same fields. The tool changes things in the world (it emails someone), so confirm with the user before calling it. MCP Server Card.

Just want a preview?

The public renderer returns a watermarked PNG straight away, with no personal details and no email. Or use the browser builder.

See the privacy policy for how request details are used.