OAuthClient
Register a new OAuth client (third-party app)
POST
http://localhost:3000/api/oauth/clients
Body
application/json
namestringrequiredExample
Activepiecesdescriptionstring | nullclientTypestringconfidentialpublicconfidentialredirectUrisArray<string>requiredExample
[
"https://cloud.activepieces.com/redirect"
]allowedScopesArray<string>Example
[
"profile",
"email"
]allowedGrantTypesArray<string>authorization_coderefresh_tokenclient_credentialsauthorization_codepkceRequiredbooleanfalseaccessTokenTtlnumber[60, 604800]86400refreshTokenTtlnumber[60, 7776000]2592000Response
201Created
Client created. The response includes the plaintext clientSecret exactly once — store it immediately.
400Bad Request
Invalid input