Product documentationintermediate20 minutes

Connect an external API

Add a server-side external API client to a Jotsu application, protect its credential, validate responses, and map useful data into the UI.

Store the API credential as a secret, then ask Codex to implement the smallest server-side request that proves the connection.

Include the base URL, method, authentication scheme, headers, query parameters, request body, and expected response. State how external fields map to application records.

Connect the Acme contacts API. Read ACME_API_KEY from the server environment.
Fetch one page of contacts, validate the response, and show a read-only preview.
Log upstream status codes without logging credentials or response personal data.

Verify one successful response and one expected failure. Add pagination, retries, rate-limit handling, and synchronization only after the basic request works.