# custom\_redirect

Source: https://zotonic.com/docs/1776/custom_redirect

URI: https://zotonic.com/id/1776

Language: en



Model for custom redirect records, exposing redirect list and individual redirect lookup by id.

Available Model API Paths
-------------------------

| Method | Path pattern | Description                                                                      |
| ------ | ------------ | -------------------------------------------------------------------------------- |
| `get`  | `/list/...`  | Return all configured custom redirect records visible in admin redirect management (requires `use` on `mod_custom_redirect`). |
| `get`  | `/+id/...`   | Return custom redirect record by numeric id `+id`, or `undefined` when not found (requires `use` on `mod_custom_redirect`). |

`/+name` marks a variable path segment. A trailing `/...` means extra path segments are accepted for further lookups.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1776?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1776?language=en>)
