# Custom APIs

Dualite has a unique functionality of integrating REST APIs. There are two ways:

* Infer API automatically: Dualite builds out a 'dummy' API for you based on inferring the frontend structure to get you an idea of how the API needs to be developed
* OpenAPI spec: You can directly copy-paste your API Swagger doc or OpenAPI spec and it'll automatically understand which API endpoint needs to be connected to which design element

<figure><img src="https://3249760354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV8GfqSvH6vHDgFIKWOOu%2Fuploads%2FDIl7VD7rZb6vbfoibgye%2FScreenshot%202025-04-02%20at%206.54.35%E2%80%AFPM.png?alt=media&#x26;token=0d95d676-b035-4b2e-91c7-79ebc7ec639b" alt="" width="375"><figcaption></figcaption></figure>
