API just responding 'The request should be authorized'


#1

hey

i’m starting to play with the API for the revolut business account.
i’m trying to follow the documentation, but i fail at the first hurdle, with the CURL example throwing ‘the request should be authorized’.

i’ve followed the example literally, replacing the api key, but it doesn’t work. does the api account need to be ‘activated’?

curl “https://sandbox-b2b.revolut.com/api/1.0/accounts” -H "Authorization: Bearer "
{“message”:“The request should be authorized.”}


#2

hey @foxlark

Could you please drop us an email to this address business@revolut.com ? Our API expert will be able to help you :man_scientist:t2: