EndpointsClient
Create new user client
Header Parameters
auth?|
Cookie Parameters
auth?|
Request Body
application/json
name*string
Client name
Length
3 <= length <= 128description*string
Short clear description of the client
Length
3 <= length <= 512endpoint*string
Endpoint of the client. User will be redirected to that endpoint after successful authorization
Format
uriLength
1 <= length[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://api.hikka.io/client" \ -H "Content-Type: application/json" \ -d '{ "name": "ThirdPartyWatchlistImporter", "description": "Client that imports watchlist from third-party services", "endpoint": "https://example.com" }'{
"reference": "string",
"name": "string",
"description": "string",
"verified": true,
"user": {
"reference": "c773d0bf-1c42-4c18-aec8-1bdd8cb0a434",
"updated": 1686088809,
"created": 1686088809,
"description": "Hikka",
"username": "hikka",
"cover": "string",
"active": true,
"avatar": "string",
"role": "string"
},
"created": 0,
"updated": 0,
"secret": "string",
"endpoint": "string"
}{
"message": "Example error message",
"code": "example_error"
}