1. Get a key
Section titled “1. Get a key”There are two kinds of keys. Each works only for its own purpose.
| Key | For | How you get it |
|---|---|---|
| Catalog key | Downloading your catalog with GET /catalog/{format} |
Ask your contact person at Vink. A Vink employee creates the key, after which you see it in MyVink under Connections. |
| MCP key | The Vink MCP server | Create it yourself in MyVink under Connections. |
MyVink shows a new key only once. Store it in a password manager or a secret store right away. If you lose it, create a new one; the old key stops working.
2. Keep the key out of your code
Section titled “2. Keep the key out of your code”Put the key in an environment variable and read it from there. All examples on this site use VINK_API_KEY:
export VINK_API_KEY='paste your key here'Never put the key in a URL, a repository or a shared document.
3. First request
Section titled “3. First request”Download your catalog as JSON:
curl -sS -H "Authorization: Bearer $VINK_API_KEY" \ -o catalog.json \ https://api.prod.myvink.be/catalog/jsonA 200 with a file means everything works. Something else? The body tells you what went wrong, for example:
{"error":{"code":"UNAUTHORIZED","message":"Missing, invalid or inactive API key."}}Errors lists every code.
4. Connect an assistant
Section titled “4. Connect an assistant”With an MCP key you can add the Vink MCP server to Claude Code in one line:
claude mcp add --transport http vink https://mcp.myvink.be/mcp --header "Authorization: Bearer $VINK_API_KEY"The MCP server page has the configuration for Cursor, VS Code and Claude Desktop.