# Adding a URL endpoint to an API Directory & Hybrid Directory

If you have selected API as the data source for the directory you have created, paste the end point URL in the **Url** field. Selecting the **FETCH FIELDS** button will trigger a query to the API and return the fields and sample data from the first record. If you see a similar structure to the **Name** & **Sample Data** table below, this has been successful and can be saved.\
\


<figure><img src="https://3978362562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgKIYotuJ2G9zOHXIfg%2Fuploads%2FCKDIEe3DIOF8I0anFtab%2Fimage.png?alt=media&#x26;token=65e0a9ee-e175-4006-9c83-d3969c6a7634" alt=""><figcaption></figcaption></figure>

**Notes**\
\
As the data source for this Directory is an API, records will be automatically populated. As data is maintained within the target system, typically a GIS, any updates will automatically be reflected when users view the directory

A Hybrid Directory enables you select a data source of API and add additional fields to the structure and manually add record data. This is useful if you want to present additional information to the user that isn’t contained within the API data source.
