Region is encoded in your key
A Personal Access Token is minted against the organization's region — you never need to pass a region parameter separately. The token prefix is wextl_<shard>_… (for example wextl_eu1_…). The TypeScript SDK derives https://<shard>.wextl.com/api/v1 from that prefix automatically.
Regional hosts
Send API requests to your organization's regional host. Use the Region control at the top of any docs page to rewrite sample URLs. The exact hostname for your organization is also shown next to your key in the dashboard.
- Europe (eu1) — REST
https://eu1.wextl.com/api/v1, MCPhttps://eu1.wextl.com/api/mcp - United States (us1) — REST
https://us1.wextl.com/api/v1, MCPhttps://us1.wextl.com/api/mcp
curl https://eu1.wextl.com/api/v1/workflows \
-H "Authorization: Bearer wextl_..."https://eu1.wextl.com/api/mcpHandling a 421 (wrong region)
If a request reaches the wrong regional host, the API returns HTTP 421 with a wrong_region error code and a base_url field pointing at the correct host. Well-behaved clients should retry the same request against that base_url rather than treating it as a hard failure. The TypeScript SDK does this automatically when followRegion is left at its default.
References
- WEXTL® regional routing and 421 wrong-region handling implementation.
- Our users' real cross-region API traffic.
- The OpenAPI specification's server list.