2021-01-20 00:57:35 +01:00
---
type: module
---
### Client Config
Clients can store custom config data for their account on their
homeserver. This account data will be synced between different devices
and can persist across installations on a particular device. Users may
2022-07-01 00:12:45 +02:00
only view the account data for their own account.
2021-01-20 00:57:35 +01:00
2022-07-01 00:12:45 +02:00
The account data may be either global or scoped to a particular room.
2022-07-01 00:12:51 +02:00
There is no inheritance mechanism here: a given `type` of data missing from a room's account data does not fall back to the global account data with the same `type` .
2021-01-20 00:57:35 +01:00
#### Events
The client receives the account data as events in the `account_data`
sections of a `/sync` .
These events can also be received in a `/events` response or in the
`account_data` section of a room in `/sync` . `m.tag` events appearing in
`/events` will have a `room_id` with the room the tags are for.
#### Client Behaviour
2021-01-30 00:32:31 +01:00
{{% http-api spec="client-server" api="account-data" %}}
2021-01-20 00:57:35 +01:00
#### Server Behaviour
Servers MUST reject clients from setting account data for event types
that the server manages. Currently, this only includes
2021-01-21 06:45:35 +01:00
[m.fully\_read ](#mfully_read ).