Help Center> API Gateway> FAQs> API Creation> How Do I Define Response Codes for an API?
Updated on 2023-08-04 GMT+08:00

How Do I Define Response Codes for an API?

There are two types of responses:

  • Gateway response codes: returned by the gateway for API requests that are throttled, denied, or failed in authentication. For details about these response codes, see Creating a Gateway Response.
  • Backend service responses: defined by backend API services (API providers) and transparently transmitted by APIG.

API Creation FAQs

more