curl --request POST \
--url https://api.streamkap.com/auth/client-credentials \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role_ids": [
"<string>"
],
"description": "<string>",
"service_id": "<string>"
}
'{
"created_by_user": {
"id": "<string>",
"email": "<string>",
"name": "<string>",
"tenant_id": "<string>",
"profile_picture_url": "<string>",
"phone_number": "<string>",
"created_at": "<string>",
"last_login": "<string>"
},
"client_id": "<string>",
"roles": [
{
"id": "<string>",
"key": "<string>",
"name": "<string>",
"description": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
],
"service_id": "<string>",
"secret": "<string>",
"description": "<string>",
"created_at": "<string>"
}curl --request POST \
--url https://api.streamkap.com/auth/client-credentials \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role_ids": [
"<string>"
],
"description": "<string>",
"service_id": "<string>"
}
'{
"created_by_user": {
"id": "<string>",
"email": "<string>",
"name": "<string>",
"tenant_id": "<string>",
"profile_picture_url": "<string>",
"phone_number": "<string>",
"created_at": "<string>",
"last_login": "<string>"
},
"client_id": "<string>",
"roles": [
{
"id": "<string>",
"key": "<string>",
"name": "<string>",
"description": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
],
"service_id": "<string>",
"secret": "<string>",
"description": "<string>",
"created_at": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?