Typescript
import Nuntly from '@nuntly/sdk'; const client = new Nuntly({ apiKey: 'My API Key', }); const apiKey = await client.apiKeys.retrieve('apk_pdGukGd4BTmHj8dscBDE5Mc9'); console.log(apiKey.id);
{ "data": { "id": "<string>", "org_id": "<string>", "apikey_truncated": "<string>", "name": "<string>", "status": "enabled", "user_id": "<string>", "created_at": "2023-11-07T05:31:56Z", "modified_at": "2023-11-07T05:31:56Z", "region": "eu-west-1", "kind": "api-key" } }
Return the api-key with the given ID
Bearer HTTP authentication. Allowed headers Authorization: Bearer <API_KEY>
The api key id previously created
A successful response
The response is of type object.
object