To set up an API Gateway API using the API Gateway console, see Build an API with HTTP Custom Integration.
You can learn how to set up an API by following an example. For more information, see Build an API Gateway API from an Example.
Alternatively, you can set up an API by using the API Gateway Import API feature to upload an external API definition, such as one expressed in OpenAPI 2.0 with the API Gateway Extensions to OpenAPI. The example provided in Build an API Gateway API from an Example uses the Import API feature.