Tyk Gateway API v4.3

Number of APIs: 50

The Tyk Gateway API is the primary means for integrating your application with the Tyk API Gateway system. This API is very small, and has no granular permissions system. It is intended to be used purely for internal automation and integration.

Warning: Under no circumstances should outside parties be granted access to this API.

The Tyk Gateway API is capable of:

  • Managing session objects (key generation)
  • Managing and listing policies
  • Managing and listing API Definitions (only when not using the Dashboard)
  • Hot reloads / reloading a cluster configuration
  • OAuth client creation (only when not using the Dashboard)

In order to use the Gateway API, you'll need to set the secret parameter in your tyk.conf file.

The shared secret you set should then be sent along as a header with each Gateway API Request in order for it to be successful:

x-tyk-authorization: 

The Tyk Gateway API is subsumed by the Tyk Dashboard API in Pro installations.

  1. tyk-apis - create Api POST {{baseUrl}}/tyk/apis

  2. tyk-reload - Hot-reload a single node GET {{baseUrl}}/tyk/reload/?block=true

  3. tyk-apis-oas-{api ID} - delete OAS Api DELETE {{baseUrl}}/tyk/apis/oas/:apiID

  4. tyk-apis-oas-{api ID} - update Api OAS PUT {{baseUrl}}/tyk/apis/oas/:apiID

  5. tyk-apis-oas-{api ID} - Patch a single OAS API by ID PATCH {{baseUrl}}/tyk/apis/oas/:apiID?upstreamURL=est amet&listenPath=est amet&customDomain=est amet&validateRequest=true&allowList=<string>&authentication=<string>

  6. tyk-apis-oas-{api ID} - download Api OAS Public GET {{baseUrl}}/tyk/apis/oas/:apiID/export?mode=public

  7. tyk-apis-oas - list Apis OAS GET {{baseUrl}}/tyk/apis/oas?mode=public

  8. tyk-apis-oas - create Api OAS POST {{baseUrl}}/tyk/apis/oas

  9. tyk-apis-oas - download Apis OAS Public GET {{baseUrl}}/tyk/apis/oas/export?mode=public

  10. tyk-apis-oas - import OAS POST {{baseUrl}}/tyk/apis/oas/import?upstreamURL=est amet&listenPath=est amet&customDomain=est amet&apiID=est amet&allowList=<string>&validateRequest=<string>&authentication=<string>