gamp API Documentation
  • Welcome! 😎
  • API Doc
    • Getting Started πŸƒπŸΎβ€β™‚οΈ
      • Signup 🎊
      • API Dashboard πŸ–₯
      • Setup Business Profile πŸ“‡
      • Profile Verification βœ…
    • Introduction
    • Environments βš™οΈ
    • Products 🎁
      • Device Protection Plan πŸ’»
        • Custom Plan
      • Screen Protection Plan πŸ“± (to be deprecated)
      • Repairs πŸ› οΈ
    • Definitions πŸ“’
  • Reference
    • API Reference
      • Authentication πŸ”
      • Error ⚠️
      • Endpoints
        • Plans πŸ›’
        • Protected Devices πŸ“±
        • ClaimsπŸ‘¨πŸ½β€πŸ”§
        • Repairs πŸ› οΈ
    • πŸ“ƒAPI Change Log
Powered by GitBook
On this page
  1. Reference
  2. API Reference

Authentication πŸ”

PreviousAPI ReferenceNextError ⚠️

Last updated 3 years ago

Authenticate your API calls by including your secret key in the Authorization header of every request you make. You can manage your API keys from the API Dashboard. You need to navigate to the settings page on the dashboard to retrieve the keys.

The secret key can be used to create requests and purchase plans and other product offerings. They are are to be kept secret. If for any reason you believe your secret key has been compromised or you wish to reset them, you can do so from the dashboard or reach out to us to help.

Please, remember to not commit your secret keys to git, or use them in client-side code

Your authorization header to be shared as a bearer token.Sample Authorization Header

Sample Authorization Header

Authorization: Bearer sk_test_lihdu9g8rhudfsbfsdd
Retrieve the keys from the settings page