Create a new Connected App.
client_type is first_party or third_party (i.e. a confidential client), a client_secret is returned.
client_secret in the API response. Stytch stores a hash of the client_secret and cannot recover the value if lost. Be sure to persist the client_secret in a secure location. If the client_secret is lost, you will need to trigger a secret rotation flow to receive another one.Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Request type
The type of Connected App. Supported values are first_party, first_party_public, third_party, and third_party_public.
first_party, first_party_public, third_party, third_party_public A human-readable name for the client.
A human-readable description for the client.
Array of redirect URI values for use in OAuth Authorization flows.
Valid for first party clients only. If true, an authorization token granted to this Client can be exchanged for a full Stytch session.
The number of minutes before the access token expires. The default is 60 minutes.
The custom audience for the access token.
The content of the access token custom claims template. The template must be a valid JSON object.
Array of redirect URI values for use in OIDC Logout flows.
The logo URL of the Connected App, if any.
Valid for first party clients only. If true, the client does not need to request explicit user consent for the offline_access scope.
Successful response
Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we may ask for this value to help identify a specific API call when helping you debug an issue.
The Connected App created by this API call.
The HTTP status code of the response. Stytch follows standard HTTP response status code patterns, e.g. 2XX values equate to success, 3XX values are redirects, 4XX are client errors, and 5XX are server errors.