---
title: "Api Resource Path"
manual: "TYPO3 REST API"
version: "main"
permalink: "https://docs.typo3.org/permalink/sourcebroker/t3api:customization-api-resource-path@main"
source: "Customization/ApiResourcePath/Index.rst"
rendered: "2026-12-02T13:26:39+00:00"
---

# Api Resource Path {#customization-api-resource-path}

By default t3api will search for API Resource classes in
`Classes/Domain/Model/*.php` of currently loaded extensions. This behaviour
is defined in `LoadedExtensionsDomainModelApiResourcePathProvider`
and registered in [`ext_localconf.php`](https://docs.typo3.org/m/typo3/reference-coreapi/13.4/en-us/ExtensionArchitecture/FileStructure/ExtLocalconf.html#file-extension-ext-localconf-php) like this:

```php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['t3api']['apiResourcePathProviders'] = [
      \SourceBroker\T3api\Provider\ApiResourcePath\LoadedExtensionsDomainModelApiResourcePathProvider::class,
  ];
```

The same way you can add your own providers (implementing `\SourceBroker\T3api\Provider\ApiResourcePath\ApiResourcePathProvider`) for additional paths.
