# Insomnia Collection source: https://developer.mastercard.com/presentment/documentation/developer-tools/insomnia-collection/index.md ## Overview {#overview} [Insomnia](https://insomnia.rest/) is an open-source API client that developers use to quickly and easily send REST requests to Mastercard APIs. Refer to the [Insomnia Plugin](https://github.com/Mastercard/insomnia-plugin-mastercard) for handling API authentication. ## Insomnia tutorials {#insomnia-tutorials} The Insomnia tutorials cover how to set up Mastercard API requests in Insomnia, including plugin installation, OAuth authentication, and request execution. For detailed steps, follow: * [Insomnia tutorial for OAuth 1.0 authentication](https://developer.mastercard.com/platform/documentation/developer-tools/insomnia-collection/) * [Insomnia tutorial for User Account Administration OAuth 2.0 authentication](https://developer.mastercard.com/presentment/documentation/tutorials-and-guides/user-account-admin-api-authentication-and-first-call-tutorial/index.md) * [Insomnia tutorial for Offers for Publishers API OAuth 2.0 authentication](https://developer.mastercard.com/presentment/documentation/tutorials-and-guides/offers-for-publishers-api-authentication-and-first-call-tutorial/index.md) ## Download our Insomnia Collection {#download-our-insomnia-collection} * [Offers API Insomnia Collection](https://static.developer.mastercard.com/content/presentment/uploads/offers_API_insomnia_collection.zip) * [User Account Administration Insomnia Collection](https://static.developer.mastercard.com/content/presentment/uploads/UAA_InsomniaCollection_RefApp.yaml) ## Import and configure the Insomnia Collection {#import-and-configure-the-insomnia-collection} Import the Insomnia collection file directly into Insomnia. After importing, update the environment configuration with your client‑specific details. Configure the following fields in the environment: * consumerKey * keyAlias * keystoreP12Path * keystorePassword * encryptionCertificate * keyStore * keyStoreAlias * x-openapi-clientid * public-key-fingerprint * This value corresponds to the key from the Mastercard Encryption Key section. ![alt text](https://static.developer.mastercard.com/content/presentment/uploads/environments.png "collection environments") Note: Select OAuth 1.0a only if you have not upgraded to OAuth 2.0.