Delegated agents
Mint connect ticket
Mints a single-use connect code for one of your end users. Show them connectCode and mcpServerUrl; they add the MCP server to their assistant and paste the code on the consent screen. Redeeming it creates a delegated grant that can reach only templates whose scopePath starts with one of scopePrefixes, using only the tools in allowedTools. Every prefix must start with externalTenantId/.
post/v2/organizations/{organizationId}/delegated/tickets
Request
- Base URL: https://api.pdfs.build
- URL: https://api.pdfs.build/v2/organizations/{organizationId}/delegated/tickets
- Auth: HTTP bearer
Request body
Example request
{
"scopePrefixes": [
"acct_9f3/entity_dubai/",
"acct_9f3/entity_ajman/"
]
}Response
The ticket. connectCode is single-use and short-lived.
Example response
{
"mcpServerUrl": "https://backend.pdfs.build/mcp"
}Changes
No recorded changes to this operation across all 1 revision of this API.