Authorization header.
A key identifies you as a partner and gives access to every employer you created. There are no
per-employer keys: you say which employer a request is about with the
employer parameter.
Keeping keys safe
- Keys are secret. Use them only from your servers, never in a browser or mobile app.
- All requests must use HTTPS. Requests over plain HTTP fail.
- A key is shown once, when it’s issued. Hammock stores only a hash and can’t show it again.
Errors
A request with a missing, malformed or revoked key returns401:
404 with resource_missing, the
same as an object that doesn’t exist.