OAuth
Authorization-code + PKCE and M2M client-credentials against Pulse Connected Apps.
Pulse Connected Apps provides OAuth 2.0 / OpenID Connect for apps that work with an organization's Pulse data.
Access tokens are RS256 JWTs. Pulse verifies them locally against its public signing keys, so there is no extra network round trip on each /v1 request.
Consent
User-delegated apps start an authorization-code + PKCE request. Pulse presents the member with a consent screen at /oauth/consent. Members must be signed in; unauthenticated requests go to /login and return here after sign-in.
The consent screen lives at your Pulse origin + /oauth/consent (for example https://app.example.com/oauth/consent), and that is the authorization URL registered for your app. It is distinct from your application's redirect_uri — after the member consents, Pulse redirects back to your client-provided redirect_uri with the authorization code.
Org admins control which apps appear on that screen from Developer Center → OAuth apps.
User-delegated (authorization code + PKCE)
Use this when a third-party app acts as a Pulse member.
- Redirect the user to the Connected Apps authorization endpoint with
code_challenge(S256),client_id,redirect_uri, and the public scopes you need (clients.read assignments.read …). - The user signs in to Pulse (if they are not already) and consents.
- Exchange
code+code_verifierfor an access token (and refresh token if you requestedoffline_access). - Call
/v1withAuthorization: Bearer <access_token>.
Effective access = token scopes ∩ the user's permissions. A member who cannot read time entries in Pulse cannot grant time_entries.read in a useful way — the middleware drops scopes they do not hold. Rows are further limited to clients on that member's client team, unless they are an org admin. Assignments and tasks are limited further to the work the member can see in the app: assignments they lead, have a task on, or have budget on, or that reach them through a company role on a client they are on.
Public clients must use PKCE. Never embed a client secret in a browser app.
M2M (client credentials)
Confidential clients can use the client-credentials grant. The access token has a machine subject (m2m-…). Pulse treats that like an API key: org-wide data, limited only by the token's public scopes. Rate limits key on client_id.
Ask for client-credentials access when you register your app if your integration depends on it.
Scopes
Same catalog as API keys: clients.read, clients.write, assignments.read, tasks.read, time_entries.read, time_entries.write, users.read, checkins.read. A .write scope implies the matching .read scope. Request only what you need. OpenID scopes (openid, email, profile, offline_access) are ignored by /v1 resource checks.
/v1/me
OAuth requests return oauth: { clientId, userId, scopes } instead of apiKey. userId is null for M2M.