Unable to perform API call to Orchestrator OnPremise

Hello Team,
We have an on Premise Orchestrator and want to perform api calls to it.
Step1: I was able to authenticate to it using the api call
Example : https://mystandaloneorchestrator/api/account/authenticate/
I was able to connect to it and 200 status is recieved.
Step2: Next im trying to get all the processes in the orchestrator but it shows" You are not authenticated". Im passing the bearer token recieved in step1 in the header of the step2 api call

@Swapnil_Kadam

Which orcheatrator version you are on?

Cheers

@Anil_G
Our Orchestrator Version 2022.10.2

@Swapnil_Kadam

on 22.10 I dont think basic authentication supports…its been deprecated

try to use external application and client credentials

cheers

@Anil_G :
Im trying to call UiPath Orchestrator via a simple api call using python.
I generated the client id and client secret but unsure where to use it. can you tell me where should i use them

@Swapnil_Kadam

In the authentication you would use it

Then you would get bearer token which can be used in further calls

Cheers