Get up and running with the HuiLink API in minutes.
Follow these three steps to make your first API call.
Use your API key to authenticate requests. Here are examples in different languages:
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!"}
]
}'