Start in a sandbox workspace#
Create a dedicated workspace for integration work before you send your first request. Your plan and account access determine whether you can create another workspace. Name it obviously, for example "Sandbox, test data only", so nobody mistakes test records for real business.
Use the sandbox for every example in these docs. Create its own API key and never reuse a production key there. The published API has no hard-delete operation; its delete-shaped product and location operations archive records. To reset test state, delete the sandbox workspace in Settings and start a fresh one. See testing integrations for the full pattern.
Create a key#
Open Settings in your sandbox workspace, then Integrations, and choose Manage on the API keys row.
A signed-in member with access.manage can create a key. Only the workspace
owner can issue an owner-role key. New keys start as Viewer and expire after 90
days unless you change those settings. Enter a name and a required purpose that
describes this integration, then review its role and expiration. The purpose stays
fixed when you rotate the key; issue another key for a different purpose.
Copy the token when it is shown. Zelikore does not show the secret again. Keep it in your server's secret store. See authentication before choosing permissions.
Set up your environment#
Use your actual workspace ID from the workspace you are integrating with. The key and workspace must belong to the same environment.
In a local shell, set ZELIO_API_KEY and ZELIO_WORKSPACE. Do not commit these values.
The examples use shell environment variables; in PowerShell, the equivalent variables are $env:ZELIO_API_KEY and $env:ZELIO_WORKSPACE.
Read customers#
curl --fail-with-body --get \
"https://zelio-api.zelikore.com/v1/business/customers" \
--data-urlencode "workspace=$ZELIO_WORKSPACE" \
--data-urlencode "limit=25" \
--header "x-api-key: $ZELIO_API_KEY"In Windows PowerShell, call the native curl.exe and use PowerShell's
environment-variable syntax:
curl.exe --fail-with-body --get `
"https://zelio-api.zelikore.com/v1/business/customers" `
--data-urlencode "workspace=$env:ZELIO_WORKSPACE" `
--data-urlencode "limit=25" `
--header "x-api-key: $env:ZELIO_API_KEY"A successful response has an items array. An empty workspace can return:
{ "items": [] }If the response includes nextToken, request the next page with the same workspace, limit, and filters.
The list customers reference has the full schema and other languages.
If it fails#
- 401: check the full token, expiration, revocation, and environment.
- 403: check
customers.viewand the issuing member's current workspace access. - 400: use the query name
workspace, notworkspaceId. - 429: wait the number of seconds in
Retry-Afterbefore retrying.
The API is served at https://zelio-api.zelikore.com. api.zelikore.com serves Zelikore accounts, not this API.
A development API exists at https://dev-zelio-api.zelikore.com.
It requires separate access, a development workspace, and a development key. It is not a public sandbox.
Next step#
Read pagination and errors, or use the customer sync example. Run every write against your sandbox workspace first. API examples change real business data in whichever workspace the key belongs to.