Call a REST API integrated with an Amazon Cognito user pool - Amazon API Gateway
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Call a REST API integrated with an Amazon Cognito user pool

To call a method with a user pool authorizer configured, the client must do the following:

  • Enable the user to sign up with the user pool.

  • Enable the user to sign in to the user pool.

  • Obtain an identity or access token of the signed-in user from the user pool.

  • Include the token in the Authorization header (or another header you specified when you created the authorizer).

You can use Amazon Amplify to perform these tasks. See Integrating Amazon Cognito With Web and Mobile Apps for more information.