Get Client By Id
GET/v1/product/:product_id/client/:client_id
Get a client by ID, requires clients:config:view permission
Request
Path Parameters
Client ID
Product ID
Responses
- 200
- 400
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Client secret. Note the value of the secret is returned only when the secret is first generated or the secret is rotated.
Optionally scope this client to a single Environment.
policy
object
required
Default value: true
Enable Client Credential Authentication. This is recommended for services, automated processes, or third-parties.
Default value: true
Enable User Authentication (e.g. Steam, Xbox, PSN, Epic, Anon, etc). This is recommended for Game Clients and first-party websites.
Default value: true
Enable Refresh tokens for authentications using this policy. If true, the refresh_token_lifetime_days field is used to limit how long the tokens remain valid.
Possible values: >= 600
Default value: 600
Access token lifetime in seconds
Possible values: >= 7
Default value: 7
Refresh token lifetime in days. If empty, refresh tokens will not expire.
{
"client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"client_secret": "string",
"environment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"policy": {
"policy_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"permissions": [
"string"
],
"description": "string",
"default_policy": true,
"client_auth_enable": true,
"user_auth_enable": true,
"refresh_token_enable": true,
"access_token_lifetime_seconds": 600,
"refresh_token_lifetime_days": 7
},
"description": "string"
}
Bad Request
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}