API management
Weik.io 2026.2Publish an HTTP API on a gateway and open it to callers with subscriptions and rate limits.
On this page
API management puts a gateway in front of any HTTP API, such as an integration you built or your ERP’s REST interface. The gateway handles every call to the APIs it serves:
- Terminates TLS with certificates Weik.io obtains and renews
- Admits each caller by its subscription
- Rate limits the calls
- Logs each request with its trace
Devtest and production answer on their own hostnames, and each has its own keys.
The examples on these pages use one API, finance/invoices, in front of the ERP, called by the partner partner-x.
A partner calls the API on the gateway at api.example.com with its API key. The gateway checks that the key belongs to the subscription finance/partner-x, applies its rate limit of 600 calls a minute and answers 429 when the limit is reached. It forwards the call to the upstream, which is an integration on an agent or any HTTP service such as an ERP's REST interface. Each call becomes one trace with the gateway's step and the upstream's steps.
Pages#
traceresponse header of its response.Webhooks A webhook API version stores each call's body in a channel before it answers.Gateways and hostnames Create a gateway for each environment and set its hostnames and the rules for who may call it.Gateways at sites Serve an API at a site to the machines on its network, and let partners reach it through a hub gateway without opening a port at the site.Upstreams and routes Write where an API sends its calls in YARP's configuration, and give the gateway a credential and connection settings for the upstream.The gateway on a laptop Run the gateway alone on plain HTTP on a laptop to try an API and the gateway's rules.