Saaslogic
    Saaslogic
    • Introduction
    • Authentication
    • Enum Reference
    • Authentication
      • saaslogic token
        • Get the saaslogic access token
      • login Url
        • Gives the login URL
      • logout Url
        • Gives the logout URL
    • Countries
      • Get list of countries
    • Plans
      • List all plans for a product
    • Subscriptions
      • Create a product subscription
      • Retrieve a subscription
      • Create Customer and Subscription
      • Subscription with details permissions, menus and features
      • The Saaslogic URL for creating subscription
    • Usage Reporting
      • Report the resource usages in subscription for invoicing
      • Retrieves the resource usages of a subscription in the current billing cycle
    • Customers
      • addresses
        • Create an address
        • List all addresses
        • Update an address
        • Retrieve an address
        • Delete an address
      • contacts
        • Create a contact
        • List all contacts
        • Update a contact
        • Retrieve a contact
        • Delete a contact
      • Create a customer
      • List all customers
      • Update a customer
      • Retrieve a customer
      • Delete a customer
    • Vendors
      • vendor addresses
        • Create a vendor address.
        • List all vendor addresses.
        • Update a vendor address.
        • Retrieve a vendor address..
        • Delete a vendor address.
      • vendor contacts
        • Create a vendor contact.
        • List all vendor contacts.
        • Update a vendor contact.
        • Retrieve a vendor contact.
        • Delete a vendor contact.
      • vendor bills
        • Create a vendor bill
        • Cancel a vendor bill.
      • vendor bills payout
        • Update payment details to vendor bills.
      • Create a vendor
      • Update a vendor.
      • Activate a vendor.
      • Dectivate a vendor.
    • Attributes
      • Create a organization attribute and set the value
      • Retrieve a organization attribute
      • Create a user attribute
      • Update a user attribute
      • Get a user attribute
    • Invoices
      • subscriptions
        • Get the invoices
        • Get the invoices by subscription
      • payments
        • Mark the invoice payment status
      • Get the invoice details .
      • cancel the invoices
      • Send invoice as pdf with payment link.
      • Create an on-demand invoice

    Authentication

    Saaslogic OpenAPI uses the Bearer Token method for authorization.
    To access Saaslogic APIs, you must include a valid API access token in the authorization header.
    For example:
    Authorization: Bearer  eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhcnVuaml0aC5wc0BleHBlZWQuY29tIiwibGFzdE5hbWUiOiJQIFMiLCJjbGllbnRJZCI6OSwicHJvZHVjdElkIjoyLCJzYWFzbG9naWNPd25lcklkIjoxLCJyb2xlcyI6W10sImlzcyI6InVzZXInVuaml0aC5Nlck5hbWUiOiJhcnVuaml0aC5wc0BleHBlZWQuY29tIiwidXNlcklkIjozNiwiZmlyc3ROYW1lIjoiQXJ1bmppdGgiLCJvcmdUeXBlIjoiUHJvZHVjdCB
    
    How To Generate Bearer Token
    Follow these steps to generate a Bearer Token for authentication in Saaslogic.
    1
    Step 1
    1.
    Open your browser and navigate to your saaslogic portal.
    2.
    Enter your credentials and log in.
    2
    Step 2
    1.
    Click the Gear Icon ⚙️ at the top-right corner.
    2.
    Under the Developer section, select API Keys.
    3
    Step 3
    1.
    Here, you can find your Access Key and Secret Key.
    2.
    If needed, click Generate Key to create a new set of credentials.
    3.
    Copy the Access Key and Secret Key.
    4
    Step 4
    Make a POST request with the copied credentials:
    Request Example (cURL)
    Previous
    Introduction
    Next
    Enum Reference
    Built with