Tweed Docs
  • Welcome to Tweed
    • What Can Tweed Do?
  • Getting Started
    • Embedded Wallets | WaaS
    • Token Checkout | Payments
      • Flow of Funds: Purchase to Settlement
      • Token Checkout
      • Legacy Token Checkout
        • Basic Checkout Integration
        • Checkout + WaaS + Auth
        • Features
          • Payment links
          • Whitelist
          • Flow of Funds
          • Apple & Google Pay
          • AML & KYC Policy Overview
  • Developer Tools
    • Tweed SDKs
      • core-react
        • useAuth
        • useWallet
        • useTweed
        • usePayments
        • useWeb3
      • core-js
      • core-vue
      • Payments SDKs (v1)
        • Frontend SDKs (Payments)
        • Backend SDK (Payments)
        • How to set up your smart contract for Tweed
        • Tezos chain considerations
    • Management Dashboard
      • Create platform
      • Create application
        • UI Customization
    • Webhooks
      • Checkout Webhooks
    • API
      • API (V1)
      • API (V2)
        • Authorization
        • API reference
          • Contracts
            • Add
            • Add contract function
            • Contract
          • Payouts
            • Add
            • Payout
          • Items
            • Add
            • All
              • Contract
                • Count
              • Payout
                • Count
          • Assets
            • Blockchain
            • All
              • Blockchains
          • Blockchains
            • Multiple
            • Native asset
          • Audit event mappings
          • Platform webhooks
            • Set active
          • Tickets
        • Specification
    • External Integrations
      • Wagmi connector
      • Onramp to Crypto
    • Example Projects
    • Supported Blockchains
    • Pricing
  • Products
    • WaaS
    • Payments
Powered by GitBook
On this page
  • Step 1: Generate a User Access Token
  • Step 2: Use the Authorization Header
  1. Developer Tools
  2. API
  3. API (V2)

Authorization

To interact with our API, users must authenticate their requests using a User Access Token. Follow the steps below to obtain and use a token for authorization

PreviousAPI (V2)NextAPI reference

Last updated 4 months ago

Step 1: Generate a User Access Token

  1. Navigate to the in the Management Dashboard.

  2. Click on Create user access token.

  1. The generated token will include:

  • API Key: Your unique identifier.

  • API Secret: Your secret key for secure access.

Step 2: Use the Authorization Header

When making requests to the API, you must include the authorization header in the following format:

Authorization: Bearer <API_KEY>:<API_SECRET>

Example Request

GET /api/v1/resource
Authorization: Bearer abcd1234:efgh5678

Important Notes

  • Keep your API Secret confidential and do not share it.

  • The token grants access to your account and data, so store it securely.

  • If your token is compromised, revoke it immediately from the User Access Token page and generate a new one.

User Access Token page