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