## API documentation The **eSAW One-Shot** flow uses three main endpoints across two hosts: | Step | Endpoint | Host | Authentication | | --- | --- | --- | --- | | 1. Create request | `POST /api/v1/esawoneshot` | Uanataca (modernpki.com) | Client certificate | | 2. Upload file | `POST /Api/v6/file/upload` | eSignAnywhere (esignanywhere.net) | ApiToken header | | 3. Send envelope | `POST /Api/v6/envelope/send` | eSignAnywhere (esignanywhere.net) | ApiToken header | - **Create** — Creates the certificate request and returns `req_pk` and **esaw_token**. Use **esaw_token** as `requestToken` in the envelope's Sign activity (GenericSigningPluginBit4idOneShot). - **Files** — Upload documents to be signed. One call per document; response provides **FileId** for the envelope. - **Envelope** — Create and send the envelope with Documents (FileId) and Activities (Sign with requestToken). Base URLs: - **Testing:** Uanataca `https://api.sandbox.modernpki.com`, eSAW `https://demo.esignanywhere.net` - **Production:** Uanataca `https://api.modernpki.com`, eSAW `https://saas.esignanywhere.net` Full request and response details are in the OpenAPI specification. - [eSAW One-Shot OpenAPI specification](/products/namirialpkiaas/esaw-one-shot/openapi) — All endpoints, request/response schemas, and examples ## Postman collection For quick API testing, use the [eSAW One-Shot Postman collection](/products/namirialpkiaas/esaw-one-shot/enterprise-documentation/developer-documentation/resources/postman). Set the **host** variable (and, if needed, separate hosts for Uanataca and eSAW) to your environment URLs and run the requests. ## Related documentation - [Get started](/products/namirialpkiaas/esaw-one-shot/enterprise-documentation/get-started/get-started) — Endpoint URLs and authentication - [Signing flow](/products/namirialpkiaas/esaw-one-shot/enterprise-documentation/get-started/signing-flow) — Step-by-step create → upload → send - [Architecture](/products/namirialpkiaas/esaw-one-shot/enterprise-documentation/get-started/architecture) — Uanataca and eSAW roles