Authentication

Use your client_id and client_secret as your username and password to get your access token.

Use this request you to obtain an access token (JWT) access_token and use it to access to Metamap's verification process scope.

❗️

Username and Password

Use client_id as your username, and client_secret as your password.

Both the client_id and client_secret are available through your dashboard under "Integration".

The following is an example call that hashes your client_id and client_secret in the authorization header ($(echo -en '<client_id>:<client_secret>' | base64)).

curl 
--location 
--request POST 'https://api.prod.metamap.com/oauth' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -H "Authorization: Basic \
    $(echo -en '<client_id>:<client_secret>' | base64)" \
  -d 'grant_type=client_credentials'

📘

JWT Expiration

The JWT expires one hour after your request.

Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!