cURL
curl --request GET \ --url https://api.unkey.dev/v1/apis.getApi \ --header 'Authorization: Bearer <token>'
{ "id": "key_1234", "workspaceId": "ws_1234", "name": "Unkey - Production" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The id of the api to fetch
1
"api_1234"
The configuration for an api
The response is of type object.
object
Was this page helpful?