Client applications
API endpoints
Authentication: endpoints listed in this page require header authentication with an admin token.
Create a client application
POST
https://{domain}.biapi.pro/2.0/clients
Request body: ClientAppRequest object
Response body: ClientApp object
List client applications
GET
https://{domain}.biapi.pro/2.0/clients
Response body: ClientAppsList object
Get a client application
GET
https://{domain}.biapi.pro/2.0/clients/{clientAppId}
Get a single client application by ID.
Path Parameters
clientAppId*
Integer
ID of the client application.
Response body: ClientApp object
Update a client application
PUT
https://{domain}.biapi.pro/2.0/clients/{clientAppId}
Update a single client application by ID.
Request body: ClientAppUpdateRequest object
Path Parameters
clientAppId*
Integer
ID of the client application.
Response body: ClientApp object
Delete a client application
DELETE
https://{domain}.biapi.pro/2.0/clients/{clientAppId}
Delete a client application by ID.
Path Parameters
clientAppId*
Integer
ID of the client application.
Update the logo of a client application
POST
https://{domain}.biapi.pro/2.0/clients/{clientAppId}/logo
Path Parameters
clientAppId*
Integer
ID of the client application.
Data model
ClientAppRequest object
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.
ClientAppsList object
clients
The client applications.
ClientApp object
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.
ClientAppUpdateRequest object
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.
Last updated