LogoLogo
LogoLogo
  • FORMLESS NETWORK
    • Overview
  • SHARE
    • SHARE SDK
      • Authentication
      • Payouts
      • Smart Contracts
      • Prepaying for API Credits
    • SHARE App
      • Smart Contract Creation
        • Sell a Beat
        • Sell a Song
        • Sell a Video
        • Sell an Album
        • Sell a Collection with Community Splits
        • Create a Community Splits Contract
      • Frequently Asked Questions
    • SHARE Protocol
  • TUTORIALS
    • Cashing Out to Your Bank
    • Collections Revenue Flow
    • For Symphonic Customers
      • Get Your Streaming Money Paid Out Same Day
      • Share Streaming Money with Fans
      • Add SHARE Protocol as a Payee
      • Assign Royalty Splits to SHARE Protocol
      • Connect Track Earnings to a Smart Contract using a Form
      • Connect Track Earnings to a Smart Contract using SHARE SDK
      • Receiving Realtime Royalty Payouts
    • For Distribution Businesses
      • Getting Started
      • SHARE Enterprise Dashboard
        • Your Custom Branded Portal
        • Logging in and Adding Authorized Users
        • Viewing Your Revenue Analytics and Balance
        • Viewing Customers
        • How Revenue Splits Work on D2C Sales
      • SHARE API and SDK Access
        • Shared Ownership and Large-Scale Fractionalized Payouts
        • Connect DSP Earnings to SHARE with No-Code
        • How Your Customers Can Create Splits Contracts
        • Create a Community Splits Contract using SHARE UI
        • Execute a Programmatic Payment
        • How to Verify FORMLESS Account IDs
        • Add SHARE Protocol Split Contract as a Payee
Powered by GitBook
On this page
  1. SHARE
  2. SHARE SDK

Authentication

SHARE SDK authentication enables usage of APIs for payouts and smart contract operations.

PreviousSHARE SDKNextPayouts

Last updated 4 months ago

SHARE APIs use access tokens to authenticate requests. Your access token authorizes your use of the API server.

Getting Your API Key

  1. Ensure you've followed the onboarding instructions in .

  2. Login at using the email address used during account setup.

  3. Navigate to Account -> API Key.

Once your access token is obtained, all requests are made using JSON-RPC.

export API_KEY="API_KEY" EMAIL_ADDRESS="YOUR EMAIL" 
curl -v -X POST 'https://share-ddn.formless.xyz/v1' \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $API_KEY" \
--data-raw "{
    \"jsonrpc\": \"2.0\",
    \"id\": \"0\",
    \"method\": \"identity_get_by_email_address\",
    \"params\": {
        \"email_address\": \"$EMAIL_ADDRESS\"
    }
}"
OAuth 2.0
https://share.formless.xyz
Business & Developer Accounts
SHARE -> Account.
SHARE -> Account -> API Key.