> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# setMeta

> setMeta method for the RoomSession class.

### setMeta

* **setMeta**(`meta`): `Promise<void>`

Assigns custom metadata to the RoomSession. You can use this to store metadata whose meaning is entirely defined by your application.

Note that calling this method overwrites any metadata that had been previously set on this RoomSession.

#### Parameters

The medatada object to assign to the RoomSession.

#### Returns

`Promise<void>`

#### Permissions

* `room.set_meta`

You need to specify the permissions when [creating the Video Room Token](/docs/apis/rest/video/room-tokens/create-room-token) on the server side.

#### Example

```js
await roomSession.setMeta({ foo: "bar" });
```