Webhooks

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://reference.textline.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Textline API MCP server": {
    "url": "https://reference.textline.com/mcp"
  }
}

Close

Webhooks are user-configured HTTP callbacks that fire when an event occurs.

Configure them in Textline at Settings → Tools & Integrations → Developer API → New Webhook.

More documentation: support article.

Signature validation

Each webhook request includes:

  • X-TGP-EVENT-SIGNATURE — SHA256 signature
  • X-TGP-EVENT-TYPE — webhook type
  • X-TGP-EVENT-TIME — event time (unix seconds)

The signature is SHA256(webhook_type + event_time + webhook_secret) (concatenated, in that order). The webhook secret is on the API settings page.