Hello,
# support
a
Today I saw new API Endpoints like Orgs and many others. How can we get the token for this endpoint /org? Thanks!
v
@Alex To access the
/org
endpoint, you will need an authorization token. You can retrieve your authorization key from the Dashboard. Once you have your key, you will use it in the Authorization header as a Bearer token when making requests to the
/org
endpoint. Here's a general example of how you would include the Authorization header in a request:
Copy code
http
GET /org
Authorization: Bearer YOUR_AUTHORIZATION_KEY
Replace
YOUR_AUTHORIZATION_KEY
with the actual key you retrieved from the Dashboard. If you need assistance with obtaining your key or have any other questions, please let me know!
You can continue this conversation by mentioning me in the message.
a
With the key from Dashboard I get the following error: { "message": "Invalid Key. Hot tip, you may be using the private key instead of the public key, or vice versa.", "error": "Forbidden", "statusCode": 403 }
s
@Alex you need to use your private key to make the API calls.
a
Yes, I'm using private key for /org, but I get the same error. Should I use a master key for this endpoint?
s
@Alex you might not be using private-key correctly because of this your getting this error, and what do you mean by "master-key" here?