Docs
  • Introduction
  • Getting Acquainted with Insurpass API
    • Before you start
    • Access to Insurpass API
    • Environment
    • Authentication
    • Errors
    • Pagination
    • Versioning
  • Know Insurpass' Products
    • Definition of Terms
    • Micro-health Insurance
    • Credit Life Insurance
    • Motor Insurance
    • Parcel Guard Insurance
    • Shop Insurance
    • Group Insurance
    • School Fees Insurance
    • Okada Insurance
    • Keke Insurance
  • Insurpass APi Reference
    • Micro-health Insurance
      • Policy
      • Claim
      • Pharmacy
    • Shop Insurance
      • Shop Insurance Policy
      • Shop Insurance Claims
    • School Fees Insurance
      • School Fees Policy
      • School Fees Claims
    • Keke Insurance
      • Keke Policy
      • Keke Claims
    • Okada Insurance
      • Okada Policy
      • Okada Claims
    • Motor Insurance
      • Comprehensive Motor Insurance
        • Comprehensive Motor Policy
        • Comprehensive Motor Claims
      • Third Party Motor Insurance
        • Third Party Motor Policy
        • Third Party Motor Claims
    • Parcel Guard Insurance
      • Policy
      • Claims
    • Group Insurance
      • Policy
      • Claims
    • Credit Life Insurance
      • Credit Life Policy
      • Credit Life Claims
  • GUIDES
    • Customer Journey Guidebook
      • Micro-health Insurance Flow
        • Claims Flow
        • Pharmacy Treatment Flow
        • User Interface Samples - Micro-health Insurance Plan
        • Issue Management Flow
      • Credit Life Insurance Flow
        • User Interface Samples - Credit Life Plan
Powered by GitBook
On this page

Was this helpful?

  1. Getting Acquainted with Insurpass API

Authentication

Authentication

For authentication, pass your token in theinsurpass-request header.

headers: {
'Authorization': Bearer ins_sk_ec55873830a2706c8fb5f5bad704b2c04dd9c58e83b4b59a9c5e34ad4b89ba0b485f6bed251a55f7_test',
'Content-Type: application/json'
},

If you do not include your token when making an API request, or you use a token that is incorrect or outdated, Insurpass will return an error.

Your bearer token can be used to make any API call on behalf of your account so you'll need to treat it as you would any other password and grant access only to those who need it.

If a token is compromised, you can re-generate a new one from your dashboard.

Note that when a new token is generated, the old token is immediately blocked.

PreviousEnvironmentNextErrors

Last updated 3 years ago

Was this helpful?