Authentication
All reseller actions on a company are authenticated with that company's Partner API Key.
The base URL for all requests is https://api.glance.co.il.
The Partner API Key
When you register a company (see Register a Company), the response contains an apiKey. This key is scoped to that single company with editor permissions. Use it to perform every other action for that company. Each company you provision has its own key.
Making an authenticated request
Send the key in the Authorization header as a bearer token:
curl https://api.glance.co.il/settings/ \
-X PUT \
-H "Authorization: Bearer gk_live_your_partner_api_key" \
-H "Content-Type: application/json" \
-d '{ "name": "Acme Ltd" }'Keep it secret: the Partner API Key is returned only once at registration and grants full editor access to the company. Store it securely and never expose it in client code.