# Endpoints

Each API operation is one function. Operations are grouped by resource. Examples use the `ak_test` key and placeholder identifiers; replace them with your own before running.

## Address Search

| Function                                                               | Endpoint                                    | Auth    | Summary         |
| ---------------------------------------------------------------------- | ------------------------------------------- | ------- | --------------- |
| [`findAddress`](/docs/sdks/typescript/endpoints/find-address.md)       | `GET /autocomplete/addresses`               | API key | Find Address    |
| [`resolveAddress`](/docs/sdks/typescript/endpoints/resolve-address.md) | `GET /autocomplete/addresses/{address}/gbr` | API key | Resolve Address |

## UK

| Function                                                               | Endpoint                    | Auth    | Summary           |
| ---------------------------------------------------------------------- | --------------------------- | ------- | ----------------- |
| [`postcodes`](/docs/sdks/typescript/endpoints/postcodes.md)            | `GET /postcodes/{postcode}` | API key | Lookup Postcode   |
| [`addressCleanse`](/docs/sdks/typescript/endpoints/address-cleanse.md) | `POST /cleanse/addresses`   | API key | Cleanse Address   |
| [`addresses`](/docs/sdks/typescript/endpoints/addresses.md)            | `GET /addresses`            | API key | Extract Addresses |

## Keys

| Function                                                                    | Endpoint                  | Auth           | Summary        |
| --------------------------------------------------------------------------- | ------------------------- | -------------- | -------------- |
| [`keyAvailability`](/docs/sdks/typescript/endpoints/key-availability.md)    | `GET /keys/{key}`         | Key in path    | Availability   |
| [`keyDetails`](/docs/sdks/typescript/endpoints/key-details.md)              | `GET /keys/{key}/details` | Management Key | Details        |
| [`updateKeyDetails`](/docs/sdks/typescript/endpoints/update-key-details.md) | `PUT /keys/{key}/details` | Management Key | Update Details |
| [`keyUsage`](/docs/sdks/typescript/endpoints/key-usage.md)                  | `GET /keys/{key}/usage`   | Management Key | Usage Stats    |
| [`keyLogs`](/docs/sdks/typescript/endpoints/key-logs.md)                    | `GET /keys/{key}/lookups` | Management Key | Logs (CSV)     |

## Licensees

| Function                                                                              | Endpoint                                               | Auth           | Summary        |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------ | -------------- | -------------- |
| [`listLicensees`](/docs/sdks/typescript/endpoints/list-licensees.md)                  | `GET /keys/{key}/licensees`                            | Management Key | List           |
| [`createLicensee`](/docs/sdks/typescript/endpoints/create-licensee.md)                | `POST /keys/{key}/licensees`                           | Management Key | Create         |
| [`deleteLicensee`](/docs/sdks/typescript/endpoints/delete-licensee.md)                | `DELETE /keys/{key}/licensees/{licensee}`              | Management Key | Cancel         |
| [`retrieveLicensee`](/docs/sdks/typescript/endpoints/retrieve-licensee.md)            | `GET /keys/{key}/licensees/{licensee}`                 | Management Key | Retrieve       |
| [`updateLicensee`](/docs/sdks/typescript/endpoints/update-licensee.md)                | `POST /keys/{key}/licensees/{licensee}`                | Management Key | Update         |
| [`regenerateLicenseeKey`](/docs/sdks/typescript/endpoints/regenerate-licensee-key.md) | `POST /keys/{key}/licensees/{licensee}/regenerate-key` | Management Key | Regenerate Key |

## Configs

| Function                                                               | Endpoint                              | Auth           | Summary  |
| ---------------------------------------------------------------------- | ------------------------------------- | -------------- | -------- |
| [`listConfigs`](/docs/sdks/typescript/endpoints/list-configs.md)       | `GET /keys/{key}/configs`             | Management Key | List     |
| [`createConfig`](/docs/sdks/typescript/endpoints/create-config.md)     | `POST /keys/{key}/configs`            | Management Key | Create   |
| [`deleteConfig`](/docs/sdks/typescript/endpoints/delete-config.md)     | `DELETE /keys/{key}/configs/{config}` | Management Key | Delete   |
| [`retrieveConfig`](/docs/sdks/typescript/endpoints/retrieve-config.md) | `GET /keys/{key}/configs/{config}`    | Key in path    | Retrieve |
| [`updateConfig`](/docs/sdks/typescript/endpoints/update-config.md)     | `POST /keys/{key}/configs/{config}`   | Management Key | Update   |

## Emails

| Function                                                                 | Endpoint      | Auth    | Summary          |
| ------------------------------------------------------------------------ | ------------- | ------- | ---------------- |
| [`emailValidation`](/docs/sdks/typescript/endpoints/email-validation.md) | `GET /emails` | API key | Email Validation |

## Phone Numbers

| Function                                                                              | Endpoint             | Auth    | Summary                 |
| ------------------------------------------------------------------------------------- | -------------------- | ------- | ----------------------- |
| [`phoneNumberValidation`](/docs/sdks/typescript/endpoints/phone-number-validation.md) | `GET /phone_numbers` | API key | Phone Number Validation |

## Place Search

| Function                                                           | Endpoint              | Auth    | Summary       |
| ------------------------------------------------------------------ | --------------------- | ------- | ------------- |
| [`findPlace`](/docs/sdks/typescript/endpoints/find-place.md)       | `GET /places`         | API key | Find Place    |
| [`resolvePlace`](/docs/sdks/typescript/endpoints/resolve-place.md) | `GET /places/{place}` | API key | Resolve Place |
