pbs-library
POST /v1/pbs-library/team-sessions
Redeem a team invite code for a team session (no licence needed on this site).
Authentication
This endpoint is public. It takes no credential and no organisation — it is what our own marketing site and AI answer engines read.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X POST https://api.zinndigital.com/v1/pbs-library/team-sessions \
-H "Content-Type: application/json" \
-d '{ "code": <string>, "site_url": <string> }'Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
code | string | Yes | — |
site_url | string | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
token | string | Yes | — |
expires_at | string | Yes | — |
team | PbsLibraryTeam | Yes | — |
role | string<read, write> | Yes | — |
Errors this endpoint can return
404 · 409 · 422 · 429