Help Center/ API Gateway/ FAQs/ Opening APIs/ How Do I Define Response Codes for an API?
Updated on 2024-12-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.