Client applications
Last updated
Was this helpful?
Last updated
Was this helpful?
Authentication: endpoints listed in this page require with an admin token.
POST
https://{domain}.biapi.pro/2.0/clients
Request body: ClientAppRequest object
Response body: ClientApp object
GET
https://{domain}.biapi.pro/2.0/clients
Response body: ClientAppsList object
GET
https://{domain}.biapi.pro/2.0/clients/{clientAppId}
Get a single client application by ID.
clientAppId*
Integer
ID of the client application.
Response body: ClientApp object
PUT
https://{domain}.biapi.pro/2.0/clients/{clientAppId}
Update a single client application by ID.
Request body: ClientAppUpdateRequest object
clientAppId*
Integer
ID of the client application.
Response body: ClientApp object
DELETE
https://{domain}.biapi.pro/2.0/clients/{clientAppId}
Delete a client application by ID.
clientAppId*
Integer
ID of the client application.
POST
https://{domain}.biapi.pro/2.0/clients/{clientAppId}/logo
clientAppId*
Integer
ID of the client application.
generate_keys
Boolean
No
If true, generate a RSA pair of keys so the client can be used to generate JWT user tokens. The default is false.
name
String
No
Name of the client app.
redirect_uris
String
No
List of allowed redirect URIs.
config
String
No
Custom config about the client.
clients
The client applications.
id
Integer
ID of the client.
name
String
Name of the client application.
secret
String or null
The client secret is only exposed if you use a manage or configuration token.
public_key
String or null
private_key
String or null
redirect_uris
String
id_logo
Integer or null
config
String
Customizable config.
generate_keys
Boolean
No
If true, generate a RSA pair of keys so the client can be used to generate JWT user tokens. The key has no effect if the client already has a set of keys. The default is false.
name
String
No
New name of the client app.
secret
String
No
Reset the secret of the client.
redirect_uris
String
No
New list of allowed redirect URIs.
primary_color
String
No
Hexadecimal code of the client primary color
config
No
Custom config about the client
update_config
Boolean
No
Merge the provided config
with the existing one instead of replacing. The default is true.
Array of objects