Quickstart

Get up and running with the HuiLink API in minutes.

Follow these three steps to make your first API call.

1

Create an Account

Register for a HuiLink account to get started. No credit card required for the free tier.

2

Create an API Key

Once logged in, navigate to the API Keys section in your dashboard and create a new key. Copy it somewhere safe — you won’t be able to see it again.

3

Make Your First API Call

Use your API key to authenticate requests. Here are examples in different languages:

cURL
curl https://gateway.hkting.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-your-api-key" \
  -d '{
    "model": "gpt-4o",
    "messages": [
      {"role": "system", "content": "You are a helpful assistant."},
      {"role": "user", "content": "Hello!"}
    ]
  }'

Next Steps