Firstbase API
  • INTRODUCTION
    • REST API
    • Use Cases
      • User Management
      • Asset Management
      • Catalog and Ordering
  • GETTING STARTED
    • Generating your API Key
    • Authentication
    • Making requests
    • Pagination
    • Rate Limiting
    • Deprecations - WIP
    • Filtering - WIP
  • API Reference
    • Catalog
      • Skus
    • Inventory
      • Tags
      • Assignment
      • Archive
    • Orders
    • Shipments
    • Packages
    • Users
    • Specification
Powered by GitBook
On this page
  1. GETTING STARTED

Making requests

Connecting to the Firstbase API and making your first request

When making API requests, ensure the following headers are included:

  • Authorization. Contains the API key using the format ApiKey {{api-key}}, where {{api-key}} is your actual API key.

  • Accept. Specifies the response content type. For SCIM endpoints, use application/scim+json. For other API endpoints, use application/json.

Here is an example to retrieve all inventory details

curl -X 'GET' \
'https://apipub.firstbasehq.com/api/inventory' \
-H 'accept: application/json' \
-H 'Authorization: ApiKey 0000000000000000000000'

PreviousAuthenticationNextPagination

Last updated 7 months ago