🌏
MID
文A↪ English
文A↪ English
  • Introducing MID
  • How .mid works
  • Partners
    • CutUp
      • How CutUp Receipt NFT works
      • How CutUp Digital Voucher works
  • API Integration
    • Quick start
      • 1. Request a user's MID identity
      • 2. Redirect back to your site by MID
      • 3. Use the access token to access the API
    • API
      • GET users/me
      • GET wallets
      • GET NFTs
Powered by GitBook
On this page
  1. API Integration
  2. Quick start

3. Use the access token to access the API

Previous2. Redirect back to your site by MIDNextAPI

Last updated 2 years ago

CtrlK

The access token allows you to make requests to the API on a behalf of a user.

Authorization: Bearer OAUTH-TOKEN
GET https://mid.maneslab.xyz/api/v1/users/me

For example, you can set the Authorization header like this:

curl -H "Authorization: Bearer OAUTH-TOKEN" https://mid.maneslab.xyz/api/v1/users/me