# registryKeyId

> **registryKeyId**(`key`): `Promise`\<\{ `errors`: [`RegistryError`](/docs/reference/js/zaun-client/interfaces/registryerror/)[]; `id`: `string`; `ok`: `boolean`; \}\>

Defined in: [zaun/js/index.d.ts:315](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L315)

The id of a base64url public key, as a bot card's `source.registry_id` names it.

## Parameters

### key

`string`

## Returns

`Promise`\<\{ `errors`: [`RegistryError`](/docs/reference/js/zaun-client/interfaces/registryerror/)[]; `id`: `string`; `ok`: `boolean`; \}\>
