Skip to main content
This guide walks you through making your first API calls to LinkXG. By the end, you will have working authentication and be able to retrieve product data.

Prerequisites

Before you start, you need:
  • A LinkXG account with Owner or Admin role
  • A subscription tier that includes API access (Supplier Plus or higher for suppliers, Core or higher for buyers)
If you are on a free tier, you can still follow along using the application UI, but API access requires an upgrade.

Step 1: Create an OAuth client

OAuth clients are how your integration authenticates with LinkXG.
  1. Log into LinkXG at app.linkxg.com
  2. Go to Account > API Access
  3. Select Create OAuth Client
  4. Enter a name (e.g., “My Integration”)
  5. Select the scopes you need:
    • products:read — to retrieve products
    • connections:read — to see your connections
  6. Select Create
You will see your client_id and client_secret. Copy the secret now — it is shown only once.

Step 2: Get an access token

Exchange your credentials for an access token:
Response:
Save the access_token. You will use it for all subsequent requests.

Step 3: Make your first request

Retrieve your products:
Response:

Step 4: Retrieve a specific product

Get full details for a product:
Response:

Common operations

List products with pagination

Filter products by category

List your connections

View shared products from a supplier


Handling token expiry

Access tokens expire after 15 minutes. Before making requests, check if your token is about to expire and request a new one:

What’s next

Now that you have working authentication, explore the full API:

API Reference

Complete endpoint documentation

Rate limits

Understand usage limits

Error handling

Handle errors gracefully

Authentication

Deep dive into auth options