APIs
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. For each API it serves, the gateway does the following:
- 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.
These pages publish one API, finance/invoices, in front of the ERP and follow the calls the partner partner-x makes to it.
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 the gateways of an environment, with the hostnames they answer on and the rules for who may call them.Gateways at sites A gateway served at a site accepts calls only on the addresses its enrolment gives it, and partners reach it through a hub gateway with no port opened 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 a laptop on plain HTTP and try an API and the gateway's rules on your own machine.