---
title: "List hooks for an account"
method: GET
path: "/api/v1/accounts/{idOrAliasOrEvmAddress}/hooks"
tags: ["accounts"]
---

# List hooks for an account

`GET /api/v1/accounts/{idOrAliasOrEvmAddress}/hooks`

Returns a list of hooks associated with a given account ID, alias, or EVM address.

## Path parameters

- `idOrAliasOrEvmAddress` string, required

## Query parameters

- `hook.id` integer
- `limit` integer
- `order` 'asc' | 'desc'

## Response `200`

OK

- HooksResponse
  - `hooks` Hook[], required
    - `admin_key` Key, nullable, required — The public key which controls access to various network entities.
      - `_type` 'ECDSA_SECP256K1' | 'ED25519' | 'ProtobufEncoded'
      - `key` string
    - `contract_id` string, nullable, required — Network entity ID in the format of `shard.realm.num`
    - `created_timestamp` string, nullable, required — A Unix timestamp in seconds.nanoseconds format
    - `deleted` boolean, required — Whether the hook has been deleted
    - `extension_point` 'ACCOUNT_ALLOWANCE_HOOK', required — The extension point this hook implements
    - `hook_id` integer, required — The unique identifier for the hook within the owner's scope
    - `owner_id` string, nullable, required — Network entity ID in the format of `shard.realm.num`
    - `timestamp_range` TimestampRangeNullable, nullable, required — A timestamp range an entity is valid for
      - `from` string — The inclusive from timestamp in seconds
      - `to` string, nullable — The exclusive to timestamp in seconds
    - `type` 'EVM', required — The type of the hook implementation
  - `links` Links, required
    - `next` string, nullable

## Other responses

- `400` — Invalid parameter
- `404` — Not Found

---

[API](https://skmtc.dev/hedera/apis/mirror-node-rest-api.md) · [All operations](https://skmtc.dev/hedera/apis/mirror-node-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hedera/mirror-node-rest-api/revisions/45f5ccac560c/schema)
