Calling Spaces as a Praecise product
The credential, the person, idempotency and refusals shared by every Spaces door.
Every call is server to server, by a Praecise product, for a person.
Authorization: Bearer <the product's service token>: the same token the product uses for Praecise Inbox's mail API. A person's own access key (pik_…) with the Spaces permission opens Docs, signing and Calendar for that person only; it reaches no organisation.Praecise-Account: <address>: the person the call is for. It must be a Praecise account with a confirmed address; the account service is asked, and a failure to ask is never read as a yes.- Changes take an
Idempotency-Key. The same key within a day answers the first result again withIdempotent-Replayed: true; the same key with a different request is 409idempotency_mismatch. - A refusal is
{ "error": "<a sentence>", "code": "<one word>" }. The codes and statuses are listed in developer.json undererrors. - A product reaches what it made for the person and what the person gave it, never more than the person could open. Anything else is 404
not_found, whether it exists or not. - 429 carries
Retry-After.
Written and kept by Praecise Spaces. Read from https://spaces.praecise.com/guides/calling-spaces.md.