Update ZapSign API base URLs from .co to .com.br domains

Co-authored-by: andre <andre@zapsign.com.br>
This commit is contained in:
Cursor Agent 2025-07-31 12:24:46 +00:00
commit e747473010
3 changed files with 9 additions and 9 deletions

View file

@ -135,8 +135,8 @@ Additional security features:
The node assumes the following ZapSign API structure:
```
Base URL: https://api.zapsign.co (Production)
https://sandbox.api.zapsign.co (Sandbox)
Base URL: https://api.zapsign.com.br/ (Production)
https://sandbox.api.zapsign.com.br/ (Sandbox)
Documents:
- POST /v1/documents - Create document

View file

@ -53,7 +53,7 @@ export class ZapSignApi implements ICredentialType {
test: ICredentialTestRequest = {
request: {
baseURL: '={{$credentials.environment === "sandbox" ? "https://sandbox.api.zapsign.co" : "https://api.zapsign.co"}}',
baseURL: '={{$credentials.environment === "sandbox" ? "https://sandbox.api.zapsign.com.br/" : "https://api.zapsign.com.br/"}}',
url: '/v1/me',
method: 'GET',
},

View file

@ -137,8 +137,8 @@ export class ZapSignTrigger implements INodeType {
const credentials = await this.getCredentials('zapSignApi');
const baseUrl = credentials.environment === 'sandbox'
? 'https://sandbox.api.zapsign.co'
: 'https://api.zapsign.co';
? 'https://sandbox.api.zapsign.com.br/'
: 'https://api.zapsign.com.br/';
try {
const response = await this.helpers.request({
@ -171,8 +171,8 @@ export class ZapSignTrigger implements INodeType {
const credentials = await this.getCredentials('zapSignApi');
const baseUrl = credentials.environment === 'sandbox'
? 'https://sandbox.api.zapsign.co'
: 'https://api.zapsign.co';
? 'https://sandbox.api.zapsign.com.br/'
: 'https://api.zapsign.com.br/';
const body = {
url: webhookUrl,
@ -209,8 +209,8 @@ export class ZapSignTrigger implements INodeType {
if (webhookData.webhookId !== undefined) {
const credentials = await this.getCredentials('zapSignApi');
const baseUrl = credentials.environment === 'sandbox'
? 'https://sandbox.api.zapsign.co'
: 'https://api.zapsign.co';
? 'https://sandbox.api.zapsign.com.br/'
: 'https://api.zapsign.com.br/';
try {
await this.helpers.request({