{"id":24746736,"url":"https://github.com/documenso/sdk-go","last_synced_at":"2026-02-07T10:10:36.941Z","repository":{"id":273353749,"uuid":"919416396","full_name":"documenso/sdk-go","owner":"documenso","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-05T00:45:38.000Z","size":3301,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-05T13:01:41.091Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/documenso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-20T10:55:33.000Z","updated_at":"2026-02-03T12:13:54.000Z","dependencies_parsed_at":"2025-03-23T01:27:37.435Z","dependency_job_id":"60fa28d7-961b-4d48-9918-2be34c1e4632","html_url":"https://github.com/documenso/sdk-go","commit_stats":null,"previous_names":["documenso/sdk-go"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/documenso/sdk-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/documenso%2Fsdk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/documenso%2Fsdk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/documenso%2Fsdk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/documenso%2Fsdk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/documenso","download_url":"https://codeload.github.com/documenso/sdk-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/documenso%2Fsdk-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29192121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-28T04:32:31.678Z","updated_at":"2026-02-07T10:10:36.935Z","avatar_url":"https://github.com/documenso.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://github.com/documenso/documenso/assets/13398220/a643571f-0239-46a6-a73e-6bef38d1228b\" alt=\"Documenso Logo\"\u003e\n\n\u0026nbsp;\n\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://www.speakeasy.com/?utm_source=github-com/documenso/sdk-go\u0026utm_campaign=go\"\u003e\u003cimg src=\"https://custom-icon-badges.demolab.com/badge/-Built%20By%20Speakeasy-212015?style=for-the-badge\u0026logoColor=FBE331\u0026logo=speakeasy\u0026labelColor=545454\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\" style=\"width: 100px; height: 28px;\" /\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n## Documenso Go SDK\n\nA SDK for seamless integration with Documenso v2 API.\n\nThe full Documenso API can be viewed here (**todo**), which includes examples.\n\n## ⚠️ Warning\n\nDocumenso v2 API and SDKs are currently in beta. There may be to breaking changes.\n\nTo keep updated, please follow the discussions here:\n- [Feedback](https://github.com/documenso/documenso/discussions/1611)\n- [Breaking change alerts](https://github.com/documenso/documenso/discussions/1612)\n\n\u003c!-- No Summary [summary] --\u003e\n\n## Table of Contents\n\n\u003c!-- $toc-max-depth=2 --\u003e\n* [Overview](#documenso-go-sdk)\n  * [SDK Installation](#sdk-installation)\n  * [Document creation example](#document-creation-example)\n  * [Authentication](#authentication)\n  * [Available Resources and Operations](#available-resources-and-operations)\n  * [Retries](#retries)\n  * [Error Handling](#error-handling)\n  * [Server Selection](#server-selection)\n* [Development](#development)\n  * [Maturity](#maturity)\n  * [Contributions](#contributions)\n\n\u003c!-- No Table of Contents [toc] --\u003e\n\n\u003c!-- Start SDK Installation [installation] --\u003e\n## SDK Installation\n\nTo add the SDK as a dependency to your project:\n```bash\ngo get github.com/documenso/sdk-go\n```\n\u003c!-- End SDK Installation [installation] --\u003e\n\n## Authentication\n\nTo use the SDK, you will need a Documenso API key which can be created [here](https://docs.documenso.com/developers/public-api/authentication#creating-an-api-key\n).\n\n```go\ndocumenso := documensoSdk.New(\n  documensoSdk.WithSecurity(os.Getenv(\"DOCUMENSO_API_KEY\")),\n)\n```\n\u003c!-- No Authentication [security] --\u003e\n\n## Document creation example\n\nCurrently creating a document involves two steps:\n\n1. Create the document\n2. Upload the PDF\n\nThis is a temporary measure, in the near future prior to the full release we will merge these two tasks into one request. \n\nHere is a full example of the document creation process which you can copy and run.\n\nNote that the function is temporarily called `createV0`, which will be replaced by `create` once we resolve the 2 step workaround.\n\n```go\npackage main\n\nimport (\n\t\"bytes\"\n\t\"context\"\n\t\"errors\"\n\t\"io\"\n\t\"log\"\n\t\"net/http\"\n\t\"os\"\n\n\tdocumensoSdk \"github.com/documenso/sdk-go\"\n\t\"github.com/documenso/sdk-go/models/operations\"\n)\n\nfunc uploadFileToPresignedUrl(filePath string, uploadUrl string) error {\n\t// Read file\n\tfileContent, err := os.ReadFile(filePath)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\t// Create request\n\treq, err := http.NewRequest(\"PUT\", uploadUrl, bytes.NewReader(fileContent))\n\tif err != nil {\n\t\treturn err\n\t}\n\treq.Header.Set(\"Content-Type\", \"application/octet-stream\")\n\n\t// Make request\n\tclient := \u0026http.Client{}\n\tresp, err := client.Do(req)\n\tif err != nil {\n\t\treturn err\n\t}\n\tdefer resp.Body.Close()\n\n\t// Check response\n\tif resp.StatusCode != http.StatusOK {\n\t\tbody, _ := io.ReadAll(resp.Body)\n\t\treturn errors.New(\"upload failed with status: \" + resp.Status + \" body: \" + string(body))\n\t}\n\n\treturn nil\n}\n\nfunc main() {\n\tctx := context.Background()\n\n\tdocumenso := documensoSdk.New(\n\t\tdocumensoSdk.WithSecurity(\"\u003cAPI_KEY\u003e\"),\n\t)\n\n\tres, err := documenso.Documents.CreateV0(ctx, operations.DocumentCreateDocumentTemporaryRequestBody{\n\t\tTitle: \"Document title\",\n\t\tMeta: \u0026operations.Meta{\n\t\t\tSubject:              documensoSdk.String(\"Email subject\"),\n\t\t\tMessage:              documensoSdk.String(\"Email message\"),\n\t\t\tTypedSignatureEnabled: documensoSdk.Bool(false),\n\t\t},\n\t})\n\n\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\n\t// Upload file\n\terr = uploadFileToPresignedUrl(\"./demo.pdf\", res.Object.UploadURL)\n\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n}\n```\n\u003c!-- No SDK Example Usage [usage] --\u003e\n\n\u003c!-- Start Available Resources and Operations [operations] --\u003e\n## Available Resources and Operations\n\n\u003cdetails open\u003e\n\u003csummary\u003eAvailable methods\u003c/summary\u003e\n\n### [Document](docs/sdks/document/README.md)\n\n* [DocumentGetMany](docs/sdks/document/README.md#documentgetmany) - Get multiple documents\n* [DocumentDownload](docs/sdks/document/README.md#documentdownload) - Download document (beta)\n\n### [Documents](docs/sdks/documents/README.md)\n\n* [Get](docs/sdks/documents/README.md#get) - Get document\n* [Find](docs/sdks/documents/README.md#find) - Find documents\n* [Create](docs/sdks/documents/README.md#create) - Create document\n* [Update](docs/sdks/documents/README.md#update) - Update document\n* [Delete](docs/sdks/documents/README.md#delete) - Delete document\n* [Duplicate](docs/sdks/documents/README.md#duplicate) - Duplicate document\n* [Distribute](docs/sdks/documents/README.md#distribute) - Distribute document\n* [Redistribute](docs/sdks/documents/README.md#redistribute) - Redistribute document\n* [Download](docs/sdks/documents/README.md#download) - Download document\n* [~~CreateV0~~](docs/sdks/documents/README.md#createv0) - Create document :warning: **Deprecated**\n\n#### [Documents.Attachments](docs/sdks/documentsattachments/README.md)\n\n* [Create](docs/sdks/documentsattachments/README.md#create) - Create attachment\n* [Update](docs/sdks/documentsattachments/README.md#update) - Update attachment\n* [Delete](docs/sdks/documentsattachments/README.md#delete) - Delete attachment\n* [Find](docs/sdks/documentsattachments/README.md#find) - Find attachments\n\n#### [Documents.Fields](docs/sdks/documentsfields/README.md)\n\n* [Get](docs/sdks/documentsfields/README.md#get) - Get document field\n* [Create](docs/sdks/documentsfields/README.md#create) - Create document field\n* [CreateMany](docs/sdks/documentsfields/README.md#createmany) - Create document fields\n* [Update](docs/sdks/documentsfields/README.md#update) - Update document field\n* [UpdateMany](docs/sdks/documentsfields/README.md#updatemany) - Update document fields\n* [Delete](docs/sdks/documentsfields/README.md#delete) - Delete document field\n\n#### [Documents.Recipients](docs/sdks/documentsrecipients/README.md)\n\n* [Get](docs/sdks/documentsrecipients/README.md#get) - Get document recipient\n* [Create](docs/sdks/documentsrecipients/README.md#create) - Create document recipient\n* [CreateMany](docs/sdks/documentsrecipients/README.md#createmany) - Create document recipients\n* [Update](docs/sdks/documentsrecipients/README.md#update) - Update document recipient\n* [UpdateMany](docs/sdks/documentsrecipients/README.md#updatemany) - Update document recipients\n* [Delete](docs/sdks/documentsrecipients/README.md#delete) - Delete document recipient\n\n### [Embedding](docs/sdks/embedding/README.md)\n\n* [EmbeddingPresignCreateEmbeddingPresignToken](docs/sdks/embedding/README.md#embeddingpresigncreateembeddingpresigntoken) - Create embedding presign token\n* [EmbeddingPresignVerifyEmbeddingPresignToken](docs/sdks/embedding/README.md#embeddingpresignverifyembeddingpresigntoken) - Verify embedding presign token\n\n### [Envelope](docs/sdks/envelope/README.md)\n\n* [EnvelopeFind](docs/sdks/envelope/README.md#envelopefind) - Find envelopes\n* [EnvelopeAuditLogFind](docs/sdks/envelope/README.md#envelopeauditlogfind) - Get envelope audit logs\n* [EnvelopeGetMany](docs/sdks/envelope/README.md#envelopegetmany) - Get multiple envelopes\n\n### [Envelopes](docs/sdks/envelopes/README.md)\n\n* [Get](docs/sdks/envelopes/README.md#get) - Get envelope\n* [Create](docs/sdks/envelopes/README.md#create) - Create envelope\n* [Use](docs/sdks/envelopes/README.md#use) - Use envelope\n* [Update](docs/sdks/envelopes/README.md#update) - Update envelope\n* [Delete](docs/sdks/envelopes/README.md#delete) - Delete envelope\n* [Duplicate](docs/sdks/envelopes/README.md#duplicate) - Duplicate envelope\n* [Distribute](docs/sdks/envelopes/README.md#distribute) - Distribute envelope\n* [Redistribute](docs/sdks/envelopes/README.md#redistribute) - Redistribute envelope\n\n#### [Envelopes.Attachments](docs/sdks/envelopesattachments/README.md)\n\n* [Find](docs/sdks/envelopesattachments/README.md#find) - Find attachments\n* [Create](docs/sdks/envelopesattachments/README.md#create) - Create attachment\n* [Update](docs/sdks/envelopesattachments/README.md#update) - Update attachment\n* [Delete](docs/sdks/envelopesattachments/README.md#delete) - Delete attachment\n\n#### [Envelopes.Fields](docs/sdks/envelopesfields/README.md)\n\n* [Get](docs/sdks/envelopesfields/README.md#get) - Get envelope field\n* [CreateMany](docs/sdks/envelopesfields/README.md#createmany) - Create envelope fields\n* [UpdateMany](docs/sdks/envelopesfields/README.md#updatemany) - Update envelope fields\n* [Delete](docs/sdks/envelopesfields/README.md#delete) - Delete envelope field\n\n#### [Envelopes.Items](docs/sdks/items/README.md)\n\n* [CreateMany](docs/sdks/items/README.md#createmany) - Create envelope items\n* [UpdateMany](docs/sdks/items/README.md#updatemany) - Update envelope items\n* [Delete](docs/sdks/items/README.md#delete) - Delete envelope item\n* [Download](docs/sdks/items/README.md#download) - Download an envelope item\n\n#### [Envelopes.Recipients](docs/sdks/envelopesrecipients/README.md)\n\n* [Get](docs/sdks/envelopesrecipients/README.md#get) - Get envelope recipient\n* [CreateMany](docs/sdks/envelopesrecipients/README.md#createmany) - Create envelope recipients\n* [UpdateMany](docs/sdks/envelopesrecipients/README.md#updatemany) - Update envelope recipients\n* [Delete](docs/sdks/envelopesrecipients/README.md#delete) - Delete envelope recipient\n\n### [Folders](docs/sdks/folders/README.md)\n\n* [Find](docs/sdks/folders/README.md#find) - Find folders\n* [Create](docs/sdks/folders/README.md#create) - Create new folder\n* [Update](docs/sdks/folders/README.md#update) - Update folder\n* [Delete](docs/sdks/folders/README.md#delete) - Delete folder\n\n### [Template](docs/sdks/template/README.md)\n\n* [TemplateGetMany](docs/sdks/template/README.md#templategetmany) - Get multiple templates\n* [TemplateCreateTemplateTemporary](docs/sdks/template/README.md#templatecreatetemplatetemporary) - Create template\n\n### [Templates](docs/sdks/templates/README.md)\n\n* [Find](docs/sdks/templates/README.md#find) - Find templates\n* [Get](docs/sdks/templates/README.md#get) - Get template\n* [Create](docs/sdks/templates/README.md#create) - Create template\n* [Update](docs/sdks/templates/README.md#update) - Update template\n* [Duplicate](docs/sdks/templates/README.md#duplicate) - Duplicate template\n* [Delete](docs/sdks/templates/README.md#delete) - Delete template\n* [Use](docs/sdks/templates/README.md#use) - Use template\n\n#### [Templates.DirectLink](docs/sdks/directlink/README.md)\n\n* [Create](docs/sdks/directlink/README.md#create) - Create direct link\n* [Delete](docs/sdks/directlink/README.md#delete) - Delete direct link\n* [Toggle](docs/sdks/directlink/README.md#toggle) - Toggle direct link\n\n#### [Templates.Fields](docs/sdks/templatesfields/README.md)\n\n* [Create](docs/sdks/templatesfields/README.md#create) - Create template field\n* [Get](docs/sdks/templatesfields/README.md#get) - Get template field\n* [CreateMany](docs/sdks/templatesfields/README.md#createmany) - Create template fields\n* [Update](docs/sdks/templatesfields/README.md#update) - Update template field\n* [UpdateMany](docs/sdks/templatesfields/README.md#updatemany) - Update template fields\n* [Delete](docs/sdks/templatesfields/README.md#delete) - Delete template field\n\n#### [Templates.Recipients](docs/sdks/templatesrecipients/README.md)\n\n* [Get](docs/sdks/templatesrecipients/README.md#get) - Get template recipient\n* [Create](docs/sdks/templatesrecipients/README.md#create) - Create template recipient\n* [CreateMany](docs/sdks/templatesrecipients/README.md#createmany) - Create template recipients\n* [Update](docs/sdks/templatesrecipients/README.md#update) - Update template recipient\n* [UpdateMany](docs/sdks/templatesrecipients/README.md#updatemany) - Update template recipients\n* [Delete](docs/sdks/templatesrecipients/README.md#delete) - Delete template recipient\n\n\u003c/details\u003e\n\u003c!-- End Available Resources and Operations [operations] --\u003e\n\n\u003c!-- Start Retries [retries] --\u003e\n## Retries\n\nSome of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.\n\nTo change the default retry strategy for a single API call, simply provide a `retry.Config` object to the call by using the `WithRetries` option:\n```go\npackage main\n\nimport (\n\t\"context\"\n\tsdkgo \"github.com/documenso/sdk-go\"\n\t\"github.com/documenso/sdk-go/retry\"\n\t\"log\"\n\t\"models/operations\"\n\t\"os\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\n\ts := sdkgo.New(\n\t\tsdkgo.WithSecurity(os.Getenv(\"DOCUMENSO_API_KEY\")),\n\t)\n\n\tres, err := s.Envelopes.Get(ctx, \"\u003cid\u003e\", operations.WithRetries(\n\t\tretry.Config{\n\t\t\tStrategy: \"backoff\",\n\t\t\tBackoff: \u0026retry.BackoffStrategy{\n\t\t\t\tInitialInterval: 1,\n\t\t\t\tMaxInterval:     50,\n\t\t\t\tExponent:        1.1,\n\t\t\t\tMaxElapsedTime:  100,\n\t\t\t},\n\t\t\tRetryConnectionErrors: false,\n\t\t}))\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tif res.Object != nil {\n\t\t// handle response\n\t}\n}\n\n```\n\nIf you'd like to override the default retry strategy for all operations that support retries, you can use the `WithRetryConfig` option at SDK initialization:\n```go\npackage main\n\nimport (\n\t\"context\"\n\tsdkgo \"github.com/documenso/sdk-go\"\n\t\"github.com/documenso/sdk-go/retry\"\n\t\"log\"\n\t\"os\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\n\ts := sdkgo.New(\n\t\tsdkgo.WithRetryConfig(\n\t\t\tretry.Config{\n\t\t\t\tStrategy: \"backoff\",\n\t\t\t\tBackoff: \u0026retry.BackoffStrategy{\n\t\t\t\t\tInitialInterval: 1,\n\t\t\t\t\tMaxInterval:     50,\n\t\t\t\t\tExponent:        1.1,\n\t\t\t\t\tMaxElapsedTime:  100,\n\t\t\t\t},\n\t\t\t\tRetryConnectionErrors: false,\n\t\t\t}),\n\t\tsdkgo.WithSecurity(os.Getenv(\"DOCUMENSO_API_KEY\")),\n\t)\n\n\tres, err := s.Envelopes.Get(ctx, \"\u003cid\u003e\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tif res.Object != nil {\n\t\t// handle response\n\t}\n}\n\n```\n\u003c!-- End Retries [retries] --\u003e\n\n\u003c!-- Start Error Handling [errors] --\u003e\n## Error Handling\n\nHandling errors in this SDK should largely match your expectations. All operations return a response object or an error, they will never return both.\n\nBy Default, an API error will return `apierrors.APIError`. When custom error responses are specified for an operation, the SDK may also return their associated error. You can refer to respective *Errors* tables in SDK docs for more details on possible error types for each operation.\n\nFor example, the `Get` function may return the following errors:\n\n| Error Type                               | Status Code | Content Type     |\n| ---------------------------------------- | ----------- | ---------------- |\n| apierrors.EnvelopeGetBadRequestError     | 400         | application/json |\n| apierrors.EnvelopeGetUnauthorizedError   | 401         | application/json |\n| apierrors.EnvelopeGetForbiddenError      | 403         | application/json |\n| apierrors.EnvelopeGetNotFoundError       | 404         | application/json |\n| apierrors.EnvelopeGetInternalServerError | 500         | application/json |\n| apierrors.APIError                       | 4XX, 5XX    | \\*/\\*            |\n\n### Example\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"errors\"\n\tsdkgo \"github.com/documenso/sdk-go\"\n\t\"github.com/documenso/sdk-go/models/apierrors\"\n\t\"log\"\n\t\"os\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\n\ts := sdkgo.New(\n\t\tsdkgo.WithSecurity(os.Getenv(\"DOCUMENSO_API_KEY\")),\n\t)\n\n\tres, err := s.Envelopes.Get(ctx, \"\u003cid\u003e\")\n\tif err != nil {\n\n\t\tvar e *apierrors.EnvelopeGetBadRequestError\n\t\tif errors.As(err, \u0026e) {\n\t\t\t// handle error\n\t\t\tlog.Fatal(e.Error())\n\t\t}\n\n\t\tvar e *apierrors.EnvelopeGetUnauthorizedError\n\t\tif errors.As(err, \u0026e) {\n\t\t\t// handle error\n\t\t\tlog.Fatal(e.Error())\n\t\t}\n\n\t\tvar e *apierrors.EnvelopeGetForbiddenError\n\t\tif errors.As(err, \u0026e) {\n\t\t\t// handle error\n\t\t\tlog.Fatal(e.Error())\n\t\t}\n\n\t\tvar e *apierrors.EnvelopeGetNotFoundError\n\t\tif errors.As(err, \u0026e) {\n\t\t\t// handle error\n\t\t\tlog.Fatal(e.Error())\n\t\t}\n\n\t\tvar e *apierrors.EnvelopeGetInternalServerError\n\t\tif errors.As(err, \u0026e) {\n\t\t\t// handle error\n\t\t\tlog.Fatal(e.Error())\n\t\t}\n\n\t\tvar e *apierrors.APIError\n\t\tif errors.As(err, \u0026e) {\n\t\t\t// handle error\n\t\t\tlog.Fatal(e.Error())\n\t\t}\n\t}\n}\n\n```\n\u003c!-- End Error Handling [errors] --\u003e\n\n\u003c!-- Start Server Selection [server] --\u003e\n## Server Selection\n\n### Override Server URL Per-Client\n\nThe default server can be overridden globally using the `WithServerURL(serverURL string)` option when initializing the SDK client instance. For example:\n```go\npackage main\n\nimport (\n\t\"context\"\n\tsdkgo \"github.com/documenso/sdk-go\"\n\t\"log\"\n\t\"os\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\n\ts := sdkgo.New(\n\t\tsdkgo.WithServerURL(\"https://app.documenso.com/api/v2\"),\n\t\tsdkgo.WithSecurity(os.Getenv(\"DOCUMENSO_API_KEY\")),\n\t)\n\n\tres, err := s.Envelopes.Get(ctx, \"\u003cid\u003e\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tif res.Object != nil {\n\t\t// handle response\n\t}\n}\n\n```\n\u003c!-- End Server Selection [server] --\u003e\n\n\u003c!-- No Custom HTTP Client [http-client] --\u003e\n\n\u003c!-- Placeholder for Future Speakeasy SDK Sections --\u003e\n\n# Development\n\n## Maturity\n\nThis SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage\nto a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally\nlooking for the latest version.\n\n## Contributions\n\nWhile we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation. \nWe look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release. \n\n### SDK Created by [Speakeasy](https://www.speakeasy.com/?utm_source=github-com/documenso/sdk-go\u0026utm_campaign=go)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocumenso%2Fsdk-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocumenso%2Fsdk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocumenso%2Fsdk-go/lists"}