limit (integer, 1-100) - Number of results per page (default: 10)next (string) - Pagination cursor for next pageteam (string) - gigstack Connect: Target team ID{
"success": true,
"message": "Clients retrieved successfully",
"timestamp": 1768240724433,
"data": [
{
"id": "team_1234567890",
"legal_name": "Empresa de Tecnología S.A. de C.V.",
"address": {
"country": "MEX",
"street": "Av. Insurgentes Sur 456",
"zip": "03100",
"city": "Ciudad de México",
"state": "CDMX",
"exterior": "96",
"interior": "10",
"neighborhood": "Polanco"
},
"brand": {
"alias": "Mi Empresa",
"primary_color": "#007bff",
"secondary_color": "#6c757d",
"logo": "https://example.com/logo.png"
},
"settings": {
"avoid_automations_on_currencies": ["USD", "EUR"],
"default_description": "Default invoice description",
"taxes": [],
"taxes_usd": [],
"emails": {
"invoices_bcc": ["accounting@example.com"],
"avoid_invoice_emails": false,
"avoid_test_invoice_emails": true,
"avoid_receipts_emails": false
},
"override_item_description": "Custom item description",
"global_invoice_disabled": false,
"complements": [],
"uses_on_self_invoice_portal": ["G03", "S01"],
"invoice_pdf_notes": "Additional notes for PDF",
"product_key": "81112209",
"unit_key": "E48",
"use": "G03",
"automate_complement_for_ppd_invoices": true,
"withholding_taxes": [],
"customer_portal_id": "portal_1234567890",
"periodicity": {
"label": "Mes",
"value": "month"
},
"default_series": {
"income": {
"serie": "A"
},
"complements": {
"serie": "P"
},
"credit_note": {
"serie": "NC"
}
}
},
"tax_id": "EMP800101ABC",
"tax_system": "601",
"support_email": "support@empresa.com",
"support_phone": "+52 55 1234 5678",
"owner": "user_1234567890",
"created_at": 1677651234,
"credit_limit": 1000,
"used_credits": 250,
"credit_period_start": 1677651234000,
"sat": {
"completed": true,
"connected_at": 1677651234,
"csd_expires_at": 1924991999
},
"members": [
{
"id": "user_1234567890",
"email": "member@empresa.com",
"role": "admin"
}
],
"integrations": {
"stripe": {
"completed": false,
"category": "payments"
},
"mercadopago": {
"completed": false,
"category": "payments"
},
"clip": {
"completed": false,
"category": "payments"
},
"whmcs": {
"completed": false,
"category": "payments"
},
"paypal": {
"completed": false,
"category": "payments"
},
"openpay": {
"completed": false,
"category": "payments"
},
"conekta": {
"completed": false,
"category": "payments"
},
"bank": {
"completed": false,
"category": "payments"
},
"shopify": {
"completed": false,
"category": "payments"
},
"zapier": {
"completed": false,
"category": "payments"
},
"airtable": {
"completed": false,
"category": "payments"
},
"google_sheets": {
"completed": false,
"category": "payments"
},
"hilos": {
"completed": false,
"category": "messaging"
}
},
"metadata": {
"custom_field": "value"
}
}
],
"next": "team_dmU311Ajzj",
"total_results": 105,
"has_more": true
}{
"legal_name": "Empresa de Tecnología S.A. de C.V.",
"tax_id": "EMP800101ABC",
"tax_system": "601",
"brand": {
"alias": "My Company",
"primary_color": "#FF0000",
"secondary_color": "#00FF00",
"logo": "https://example.com/logo.png"
},
"support_email": "support@company.com",
"support_phone": "+52 55 1234 5678",
"generate_onboarding_url": true,
"address": {
"country": "MEX",
"street": "Av. Insurgentes Sur",
"exterior": "123",
"interior": "4B",
"neighborhood": "Del Valle",
"municipality": "Benito Juárez",
"city": "Ciudad de México",
"state": "CDMX",
"zip": "03100"
},
"metadata": {
"external_id": "erp-1234",
"segment": "enterprise"
},
"add_members": [
{
"id": "user123abc",
"role": "editor"
},
{
"id": "user456def",
"role": "viewer"
}
],
"add_master_team_members": false
}legal_name (string, optional) - Legal name of the team/companytax_id (string, optional) - Tax identification number (RFC)tax_system (string, optional) - SAT tax system code (regimen fiscal)brand (object, optional) - Branding configurationalias (string, required within object) - Team display nameprimary_color (string, optional) - Primary brand colorsecondary_color (string, optional) - Secondary brand colorlogo (string, optional) - Logo URLsupport_email (string, optional) - Support contact emailsupport_phone (string, optional) - Support contact phonegenerate_onboarding_url (boolean, optional) - When true, includes a secure onboarding URL in the responseaddress (object, optional) - Team address informationcountry (string, required within object) - Country code (e.g., "MEX")street (string, optional) - Street addressexterior (string, optional) - Exterior numberinterior (string, optional) - Interior numberneighborhood (string, optional) - Neighborhood/colonymunicipality (string, optional) - Municipalitycity (string, optional) - Citystate (string, optional) - State/provincezip (string, optional) - Postal codemetadata (object, optional) - Arbitrary key-value pairs to store with the teamadd_members (array, optional) - Array of members to add to the team on creationid (string, required) - User ID to add as a team memberrole (string, optional, defaults to "viewer") - Member role. Options: "admin", "editor", "viewer"add_master_team_members (boolean, optional) - When true, copies all members from the master team to the newly created team with their existing permissions. Only applicable for gigstack Connect accounts{
"success": true,
"message": "Team created successfully",
"timestamp": 1768240724433,
"data": {
"id": "team_1234567890",
"legal_name": "Tech Solutions S.A. de C.V.",
"tax_id": "TSO123456789",
"tax_system": "601",
"brand": {
"alias": "Tech Solutions SA",
"primary_color": null,
"secondary_color": null,
"logo": null
},
"address": {
"country": "MEX",
"street": null,
"zip": null,
"city": null,
"state": null,
"exterior": null,
"interior": null,
"neighborhood": null
},
"support_email": null,
"support_phone": null,
"owner": "user_owner123",
"members": [
{
"id": "user_owner123",
"email": "owner@techsolutions.com",
"role": "admin"
}
],
"settings": {},
"sat": {
"completed": false,
"connected_at": null,
"csd_expires_at": null
},
"integrations": {
"stripe": { "completed": false, "category": "payments" },
"mercadopago": { "completed": false, "category": "payments" }
},
"metadata": null,
"created_at": 1768240724433,
"onboarding_url": ""
}
}onboarding_url is only populated when generate_onboarding_url: true is sent in the request. Otherwise it is an empty string.{
"success": true,
"message": "Team retrieved successfully",
"timestamp": "2026-01-12T18:00:01.845Z",
"data": {
"id": "team_1234567890",
"legal_name": "Empresa de Tecnología S.A. de C.V.",
"address": {
"country": "MEX",
"street": "Av. Insurgentes Sur 456",
"zip": "03100",
"city": "Ciudad de México",
"state": "CDMX",
"exterior": "96",
"interior": "10",
"neighborhood": "Polanco"
},
"brand": {
"alias": "Mi Empresa",
"primary_color": "#007bff",
"secondary_color": "#6c757d",
"logo": "https://example.com/logo.png"
},
"settings": {
"avoid_automations_on_currencies": ["USD", "EUR"],
"default_description": "Default invoice description",
"taxes": [],
"taxes_usd": [],
"emails": {
"invoices_bcc": ["accounting@example.com"],
"avoid_invoice_emails": false,
"avoid_test_invoice_emails": true,
"avoid_receipts_emails": false
},
"override_item_description": "Custom item description",
"global_invoice_disabled": false,
"complements": [],
"uses_on_self_invoice_portal": ["G03", "S01"],
"invoice_pdf_notes": "Additional notes for PDF",
"product_key": "81112209",
"unit_key": "E48",
"use": "G03",
"automate_complement_for_ppd_invoices": true,
"withholding_taxes": [],
"customer_portal_id": "portal_1234567890",
"periodicity": {
"label": "Mes",
"value": "month"
},
"default_series": {
"income": {
"serie": "A"
},
"complements": {
"serie": "P"
},
"credit_note": {
"serie": "NC"
}
}
},
"tax_id": "EMP800101ABC",
"tax_system": "601",
"support_email": "support@empresa.com",
"support_phone": "+52 55 1234 5678",
"owner": "user_1234567890",
"created_at": 1677651234,
"sat": {
"completed": true,
"connected_at": 1677651234,
"csd_expires_at": 1924991999
},
"members": [
{
"id": "user_1234567890",
"email": "member@empresa.com",
"role": "admin"
}
],
"integrations": {
"stripe": {
"completed": false,
"category": "payments"
},
"mercadopago": {
"completed": false,
"category": "payments"
},
"clip": {
"completed": false,
"category": "payments"
},
"whmcs": {
"completed": false,
"category": "payments"
},
"paypal": {
"completed": false,
"category": "payments"
},
"openpay": {
"completed": false,
"category": "payments"
},
"conekta": {
"completed": false,
"category": "payments"
},
"bank": {
"completed": false,
"category": "payments"
},
"shopify": {
"completed": false,
"category": "payments"
},
"zapier": {
"completed": false,
"category": "payments"
},
"airtable": {
"completed": false,
"category": "payments"
},
"google_sheets": {
"completed": false,
"category": "payments"
},
"hilos": {
"completed": false,
"category": "messaging"
}
},
"metadata": {
"custom_field": "value"
}
}
}| Field | Type | Description |
|---|---|---|
id | string | Unique team identifier |
legal_name | string | Official registered legal name of the company/team |
tax_id | string | Tax identification number (RFC) |
tax_system | string | SAT tax system code |
support_email | string | Team support contact email |
support_phone | string | Team support contact phone |
owner | string | User ID of the team owner |
created_at | number | Unix timestamp of team creation |
credit_limit | number | null | Maximum documents (credits) the team can create per billing period. Null means no per-team limit. |
used_credits | number | Number of credits used by this team in the current billing period |
credit_period_start | number | null | Unix timestamp (ms) when the current credit period started |
metadata | object | Custom metadata key-value pairs |
| Field | Type | Description |
|---|---|---|
country | string | Country code (e.g., "MEX") |
street | string | Street address |
zip | string | Postal code |
city | string | City name |
state | string | State or province |
exterior | string | Exterior number |
interior | string | Interior number/apartment |
neighborhood | string | Neighborhood or colony |
| Field | Type | Description |
|---|---|---|
alias | string | Team display name |
primary_color | string | Primary brand color (hex) |
secondary_color | string | Secondary brand color (hex) |
logo | string | URL to brand logo image |
| Field | Type | Description |
|---|---|---|
avoid_automations_on_currencies | array | List of currency codes to skip automation |
default_description | string | Default invoice item description |
taxes | array | Default tax configuration for MXN |
taxes_usd | array/boolean | Tax configuration for USD transactions |
emails | object | Email notification settings |
override_item_description | string | Override for all item descriptions |
global_invoice_disabled | boolean | Whether global invoicing is disabled |
complements | array | CFDI complements configuration |
uses_on_self_invoice_portal | array | Allowed CFDI uses on self-invoice portal |
invoice_pdf_notes | string | Additional notes for PDF invoices |
product_key | string | Default SAT product key |
unit_key | string | Default SAT unit key |
use | string | Default CFDI use code |
automate_complement_for_ppd_invoices | boolean | Auto-create payment complements for PPD invoices |
withholding_taxes | array | Withholding tax configuration |
customer_portal_id | string | Associated customer portal ID |
periodicity | object | Default billing periodicity |
default_series | object | Default invoice series configuration |
| Field | Type | Description |
|---|---|---|
invoices_bcc | array | BCC email addresses for invoices |
avoid_invoice_emails | boolean | Skip invoice email notifications |
avoid_test_invoice_emails | boolean | Skip test invoice emails |
avoid_receipts_emails | boolean | Skip receipt email notifications |
| Field | Type | Description |
|---|---|---|
label | string | Display label (e.g., "Mes") |
value | string | Value code (e.g., "month") |
| Field | Type | Description |
|---|---|---|
income | object | Income invoice series configuration |
complements | object | Complement invoice series configuration |
credit_note | object | Credit note series configuration |
serie (string): Series identifier| Field | Type | Description |
|---|---|---|
completed | boolean | Whether SAT configuration is complete |
connected_at | number | Unix timestamp of SAT connection |
csd_expires_at | number | Unix timestamp when CSD certificate expires |
| Field | Type | Description |
|---|---|---|
id | string | User ID |
email | string | User email address |
role | string | Member role (admin, editor, viewer) |
| Field | Type | Description |
|---|---|---|
completed | boolean | Whether integration is configured |
category | string | Integration category (payments, messaging) |
stripe, mercadopago, clip, whmcs, paypal, openpay, conekta, bank, shopifyzapier, airtable, google_sheetshilos{
"brand": {
"alias": "Tech Solutions International"
},
"support_email": "help@techsolutions.com",
"tax_system": "601"
}{
"avoid_legal_name_replacer": false,
"default_description": "Professional services",
"invoice_pdf_notes": "Thank you for your business",
"product_key": "80141503",
"unit_key": "E48",
"use": "P01",
"periodicity": "month",
"taxes": [
{
"type": "IVA",
"rate": 0.16,
"factor": "Tasa",
"withholding": false
}
],
"taxes_usd": [
{
"type": "IVA",
"rate": 0.0,
"factor": "Exento"
}
],
"emails": {
"invoices_bcc": ["accounting@company.com"],
"avoid_invoice_emails": false,
"avoid_test_invoice_emails": true,
"avoid_receipts_emails": false
},
"default_series": {
"income": {
"serie": "A",
"folio_number_live": 1001,
"folio_number_test": 1
},
"complements": {
"serie": "C",
"folio_number_live": 1001,
"folio_number_test": 1
},
"credit_note": {
"serie": "N",
"folio_number_live": 1001,
"folio_number_test": 1
}
},
"automate_complement_for_ppd_invoices": true,
"global_invoice_disabled": false,
"uses_on_self_invoice_portal": ["P01", "G03", "G01"]
}{
"id": "user_9876543210",
"role": "editor"
}id (string, required) - User ID of the member to addrole (string, optional) - Member role. If not specified, defaults to "viewer""admin", "editor", "viewer""viewer"withBaseSchema() with inline validation.{
"id": "user_9876543210"
}id (string, required) - User ID of the member to removewithBaseSchema() with inline validation.{
"series": "B",
"live": 1000,
"test": 1
}series (string, required) - Series identifier (alphanumeric, max 10 characters)live (number, optional) - Initial folio number for live mode (default: 0)test (number, optional) - Initial folio number for test mode (default: 0){
"live": 2000,
"test": 50
}live (number, optional) - Update folio number for live modetest (number, optional) - Update folio number for test modelive or test must be provided.id (path, required) - Team ID to generate onboarding URL for{
"data": "https://embeded.gigstack.pro/?sessionId=otpOnboarding_abc123&c=secure_token",
"message": "Onboarding URL generated successfully"
}team query parameter.id (path, required) - Team ID to upload SAT certificates forteam (query, optional) - Target team ID for gigstack Connectcert (binary, required) - Certificate file (.cer)key (binary, required) - Private key file (.key)keyPass (string, required) - Password for the private key{
"message": "SAT connection established successfully",
"data": {
"isValid": true,
"details": {
"serialNumber": "30001000000500003416",
"validTo": 1735689600000
}
}
}isValid (boolean) - Whether the certificate is validdetails.serialNumber (string) - Certificate serial numberdetails.validTo (number) - Unix timestamp in milliseconds when certificate expires{
"message": "Invalid certificate",
"error": "Missing required files or invalid certificate format"
}{
"message": "Unauthorized",
"error": "Invalid or missing authentication token"
}{
"message": "Access denied",
"error": "Team not in same billing account"
}id (path, required) - Team ID to sign manifest for{
"key": "MIIFDjBABgkqhkiG9w0BBQ0wMz...",
"cert": "MIIFuzCCA6OgAwIBAgIUMzAwMD...",
"password": "my_secure_password"
}key (file) - FIEL .key file uploadcert (file) - FIEL .cer file uploadpassword (string) - FIEL password (private key password){
"message": "Manifest signed successfully",
"data": {
"xmlBase64": "PD94bWwgdmVyc2lvbj0iMS4wIi...",
"pdfBase64": "JVBERi0xLjQKJeLjz9MKMyAwIG...",
"fechaFirma": "2024-01-08T15:30:00.000Z",
"mensajeResultado": "Firma exitosa"
}
}xmlBase64 (string) - Base64 encoded signed manifest XMLpdfBase64 (string) - Base64 encoded manifest PDFfechaFirma (string) - Signature date and time in ISO 8601 formatmensajeResultado (string) - Result message from signing service| Status | Error | Description |
|---|---|---|
| 400 | key (Base64 encoded .key file) is required | Missing required key field |
| 400 | cert (Base64 encoded .cert file) is required | Missing required cert field |
| 400 | password is required | Missing required password field |
| 400 | Certificado FIEL invalido | Invalid FIEL certificate |
| 400 | El RFC del certificado no coincide con el RFC del equipo | Certificate RFC does not match team RFC |
| 400 | SAT configuration is incomplete | SAT setup must be completed before signing manifests |
| 400 | Manifest signing failed: [error message] | Signing service rejected the request |
| 401 | Unauthorized | Invalid or missing authentication token |
| 404 | Team not found | Team does not exist |
| Setting | Type | Description |
|---|---|---|
default_description | string | Default item description |
product_key | string | Default SAT product key |
unit_key | string | Default SAT unit key |
use | string | Default CFDI use code |
periodicity | object | Default billing/invoicing period with label and value |
invoice_pdf_notes | string | Notes added to PDF invoices |
override_item_description | string | Override all item descriptions |
avoid_automations_on_currencies | array | List of currency codes to skip automation |
global_invoice_disabled | boolean | Whether global invoicing is disabled |
automate_complement_for_ppd_invoices | boolean | Auto-create payment complements for PPD invoices |
customer_portal_id | string | Associated customer portal ID |
uses_on_self_invoice_portal | array | Allowed CFDI uses on self-invoice portal |
complements | array | CFDI complements configuration |
default_series | object | Default invoice series for income, complements, and credit notes |
{
"taxes": [
{
"type": "IVA",
"rate": 0.16,
"factor": "Tasa",
"withholding": false
}
],
"taxes_usd": [
{
"type": "IVA",
"rate": 0.0,
"factor": "Exento"
}
],
"withholding_taxes": [
{
"type": "ISR",
"rate": 0.1,
"withholding": true
}
]
}{
"emails": {
"invoices_bcc": ["accounting@company.com", "admin@company.com"],
"avoid_invoice_emails": false,
"avoid_test_invoice_emails": true,
"avoid_receipts_emails": false
}
}{
"default_series": {
"income": {
"serie": "A",
"folio_number_live": 1001,
"folio_number_test": 1
},
"complements": {
"serie": "C",
"folio_number_live": 1001,
"folio_number_test": 1
},
"credit_note": {
"serie": "N",
"folio_number_live": 1001,
"folio_number_test": 1
}
}
}| Role | Permissions |
|---|---|
| admin | Full access |
| editor | Create/edit resources |
| viewer | Read-only access |
{
"message": "Team not found",
"error": "The specified team does not exist"
}{
"message": "Invalid tax settings",
"error": "Tax rate must be between 0 and 1"
}{
"message": "Member already in team",
"error": "User is already a member of this team"
}{
"message": "Series conflict",
"error": "Series 'A' already exists for income invoices"
}{
"message": "Insufficient permissions",
"error": "Admin role required for this action"
}