A partner credential is org-scoped and REST-only. The same vendor at two
hotels needs two credentials. Casa never stores the plaintext client secret.
Creating credentials
- In the Casa app, open Integrations.
- Go to Partner credentials.
- Open Custom Integration.
- On the Overview tab, enter a name (for example AI Agent) and an optional description.
- Select at least one read scope.
- Click Create credentials.
- Copy the client id and client secret.
What credentials can do
Partner credentials are read-only and group-scoped. They cannot pin to one property. They cannot sendX-Property-Id. They cannot call MCP.
Pick at least one scope from this list. Casa rejects writes,
read:integrations, and *.
See the full scope table for session-only scopes.
Any member of your organization can create and revoke the group’s partner
credentials. A credential only grants the read scopes you selected.
Get an access token
Postclient_credentials to the Casa token endpoint. Use HTTP Basic or
client_secret_post.
exp. Then request a new token. Do not mint a
token on every Casa call.
Call the REST API
Send the access token as a bearer credential. Do not sendX-Property-Id.
Rotate, revoke, and change scopes
Manage existing credentials on Integrations → Custom Integration → Configuration. Each credential shows its scopes, creator, created date, and last-used time when the issuer reports one.- Edit scopes replaces the grant. Pick at least one read scope from the allowlist.
- Rotate issues a new client secret and deletes the old one. Store the new secret with the partner. The client id stays the same.
- Revoke marks the credential revoked. The next Casa request for that
client id returns
401.
exp (up to 3600 seconds).
Casa does not keep a token denylist. Revoke still blocks the next resolve.
Isolation
One credential binds to one Casa organization. Hotel A and hotel B each create their own client id. A’s token cannot read B’s guests.Good practice
- One credential per consumer. Name it after the system that will use it so revocation is surgical.
- Grant the fewest scopes. Select only the read scopes the partner needs.
- Cache the access token. Reuse it until
exp. Then request a new token. - Rotate by overlap. Issue a new secret, deploy it, then stop the old one.
- Keep secrets out of source control. Inject them with environment variables or your secret manager.