Skip to main content
Three calls about the credential itself rather than about a board — so none of them takes an X-Tylon-Workspace header, and none refuses for want of one. This is where the ids that header accepts come from, so a version that demanded one would be a door whose key is behind the door.

The credential

endpoint
The first call anybody makes, and the one that answers “is this wired up correctly” without touching any data.
string
The public half of the credential. Safe in a log — it is not what authenticates.
string
What it was called when it was issued, and what it signs its writes with. A card it creates says createdBy: the deploy script.
string[]
read, or read and write. Writing with only read is 403.
object[]
Every board it reaches, with the role it holds on each. This is the listing: workspaceId is exactly what the X-Tylon-Workspace header accepts, and nothing else is.
string | null
Which board served the call. Always null here, because this route answers with the list rather than out of it.

The boards it reaches

endpoint
The same list as boards above, with the words on it. /v1/me answers in ids because ids are what the header takes; this is the endpoint for writing “Checkout” on a screen instead of 83729280714017040.
role is the credential’s own membership on that board — not the role of whoever issued it, and not something that follows them afterwards.
Only the boards this credential was given. Naming any other workspace’s id in the header is 400, and it will not appear here either.

The organizations they sit in

endpoint
string[]
The boards of this organization the credential reaches — not every board the organization has.
There is no role here, and that is deliberate rather than missing. A person is a member of an organization; a credential is a member of boards, and reaches an organization only in the sense that some of its boards live there. A role in this response would be a number invented to fill a field.

What to do with it

Choosing a board

How the ids above go into the header, what happens when you leave it out, and why a name is refused where an id belongs.

Writing

What the write scope and the role in boards let this credential do.