Skip to main content
POST
Create a new gateway

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Name of the gateway

Example:

"My API Gateway"

active
boolean
default:true
required

Whether the gateway is active

Example:

true

description
string

Description of the gateway

Example:

"Gateway for my service APIs"

middleware
object[]

List of middleware to be applied to the gateway

limit
object
timeout
integer
default:30000

Timeout in milliseconds for gateway requests

Example:

30000

Response

Gateway created successfully

body
object
metadata
object