The API gives you read-only access to your offices, people, teams, attendance insights and work statuses. An Account Admin creates the token under Account & Billing, and Developers covers the endpoints.
Who can do this: Account Admins. If there are none yet, whoever installed the app.
Create a token
Section titled “Create a token”Slack
- In Officely, on the Home tab, open Go to… > All settings > Account & Billing.
- Under API token, select Create token.
- Enter a Token name and select Create.
- Copy the token from API token created.
Microsoft Teams
- In the Officely tab, select Settings > Account & Billing. It isn’t shown on mobile.
- Under API tokens, enter a Token name and select Create token.
- Select Copy token, then Done.
You only see the token once, so keep it in a password manager or your integration’s secret store. If you lose it, revoke it and create a new one.
Revoke a token
Section titled “Revoke a token”In the same place, select Revoke tokenRevoke. The app warns you: “Any integration using this token will stop working.” Confirm, and anything using the token stops straight away.
Token rules
Section titled “Token rules”| Rule | Detail |
|---|---|
| Tokens per workspace | One active token at a time. Revoke it before creating a replacement |
| Name | 1 to 80 characters, for example “reporting” |
| Seeing the token | Shown once, when it’s created. We store only a hash of it |
| Scope | The workspace that created it. Read-only |
| Availability | Private beta. To join, contact support and ask for API tokens to be turned on for your workspace |
Call the API
Section titled “Call the API”Send the token to https://api.officelycrew.com in an Authorization: Bearer <token> header. To try requests in the interactive docs, select Authorize and paste the token without Bearer.
For endpoints, limits and examples, start with the Quickstart, then the endpoint reference.
The API covers Officely Crew data only. Parkly and Meeting Rooms don’t have one.
Common questions
Section titled “Common questions”I get 401 UNAUTHORIZED. The token is missing, mistyped or revoked. Check that the header is Authorization: Bearer <token>, or create a new token.
“This workspace already has an active token. Revoke it in Account settings before creating another.” Only one token can be active, so revoke the current one first.
Slack
“API token management is unavailable, or you no longer have account admin access.” Either you’re no longer an Account Admin, or API tokens aren’t on for your workspace yet. Ask an Account Admin, or contact support.
“Could not create the API token. Check Account settings and try again.” The token wasn’t created. Reopen Account & Billing and try again.
Microsoft Teams
“Could not create API token” The token wasn’t created. Reopen Account & Billing and try again.
Something else went wrong. Contact support and include the X-Request-Id header from the response. Every response has one.
Related
Still need help? Chat to our support team.
Contact support