LogoLogo
Sign InCertnCertn Help
Certn API
Certn API
  • Certn API
  • Getting Started
    • Request a demo account
      • Get your access token
      • Understand your general resources
      • Create your first application
      • Retrieve the results
  • Guides
    • Manage your settings
    • Manage your integration users
    • Use the API
      • Get and use an Authorization Token
      • Use webhooks
        • Webhook parameters and example
      • Get the applicant's consent
    • Run a check
      • Address Reference Check
      • Australia Right To Work Check
      • Basic Disclosure And Barring Service Check
      • Basic Disclosure Scotland Check
      • Canadian Criminal Record Check
      • Credential Verification
      • Credit Check
      • Education Verification
      • Employment Verification
      • Employment Reference Check
      • Enhanced Identity Verification
      • International Criminal Record Check
      • Motor Vehicle Record Check / Driver's Abstract
      • Softcheck
      • Social Media Check
      • SOQUIJ
      • UK Right To Work Check
      • US Criminal Record Check
    • Understanding statuses and scores
  • API Reference
    • Settings and packages
    • Human Resources
      • Available checks
    • Property Management
      • Available checks
    • Resources
      • Application parameters
        • Request flags
        • Package settings
      • Error codes
      • Regional codes
      • Report field mappings
  • FAQ
  • Changelogs
  • Contact us
Powered by GitBook

The Certn Group of companies includes Certn, Credence & InterCheck. For educational purposes, these companies are referred to as “Certn” in this website. For questions about any of the aforementioned companies, contact support@certn.co. ©2023 Certn.

On this page

Was this helpful?

Export as PDF
  1. Guides
  2. Use the API

Get and use an Authorization Token

PreviousUse the APINextUse webhooks

Last updated 1 year ago

Was this helpful?

To gain access to our API, you need a valid token in an . The token is granted by our API in exchange for a . This can also be handled by third party OAuth client libraries.

Example Python request (replace CLIENT_ID and CLIENT_SECRET):

import requests

data = {
    'grant_type': 'client_credentials',
}

response = requests.post('https://api.certn.co/token/', data=data, auth=('CLIENTID', 'CLIENTSECRET'))
  • Replace TOKEN with your API key in the following header:

{ 'Authorization': 'Bearer TOKEN' }

Include this header in every call to our API, and keep it secure. It is your access key.‌

Token lifespan

Token lifespan is indicated by the expires_in parameter returned when a new token is requested. The default value is 36000 seconds (10 hours).

Authorization header
Client ID / Client Secret pair