Clients resolve flags into values. A client could be a mobile app, website, or backend service. These clients often run in an untrusted environment and authenticate with a different mechanism than service APIs of Confidence. The calling client authenticates using a shared secret between the caller and Confidence. This secret, called “client secret,” belongs to a client resource in Confidence.Documentation Index
Fetch the complete documentation index at: https://confidence.spotify.com/llms.txt
Use this file to discover all available pages before exploring further.
Create a Flag Client
To create a client, provide a display name that identifies the application:Create Client Credentials
After creating a client, generate credentials (client secret) for authentication:Make note of the client secret. It’s only returned once, from the create operation. If you lose it, you have to create a new one.
Use Client Secrets
The client secret authenticates when resolving and applying flags. Unlike other API operations that use Bearer tokens, resolve and apply operations use the client secret directly:List Clients
To view all clients in your account:Get a Specific Client
To retrieve details about a specific client:Rotate Client Secrets
For security best practices, periodically rotate client secrets:- Create a new credential for the client
- Update your application to use the new secret
- Delete the old credential after the migration is complete
Next Steps
After setting up flag clients:- Create flags and associate them with clients
- Resolve flags using the client secret
- Apply flags to track usage

