limit
(integer, 1-100) - Number of results per page (default: 10)next
(string) - Pagination cursor for next pageteam
(string) - gigstack Connect: Target team ID
{
"message": "Teams retrieved successfully",
"data": [
{
"id": "team_1234567890",
"name": "My Company",
"settings": {
"product_key": "80141503",
"unit_key": "E48",
"use": "P01",
"taxes": [
{
"type": "IVA",
"rate": 0.16
}
]
},
"created_at": 1677651234
}
],
"has_more": false,
"total_results": 1
}
{
"brand": {
"alias": "My Company",
"primary_color": "#FF0000",
"secondary_color": "#00FF00",
"logo": "https://example.com/logo.png"
},
"tax_id": "ABC123456789",
"tax_system": "601",
"support_email": "support@company.com",
"support_phone": "+52 55 1234 5678",
"generate_onboarding_url": true,
"address": {
"country": "Mexico",
"street": "Av. Insurgentes Sur",
"exterior": "123",
"interior": "4B",
"neighborhood": "Del Valle",
"municipality": "Benito Juárez",
"city": "Ciudad de México",
"state": "CDMX",
"zip": "03100"
}
}
brand
(object, optional) - Branding configurationalias
(string, required) - Team display nameprimary_color
(string, optional) - Primary brand colorsecondary_color
(string, optional) - Secondary brand colorlogo
(string, optional) - Logo URLtax_id
(string, optional) - Tax identification numbertax_system
(string, optional) - SAT tax system codesupport_email
(string, optional) - Support contact emailsupport_phone
(string, optional) - Support contact phonegenerate_onboarding_url
(boolean, optional) - Generate onboarding URL in responseaddress
(object, optional) - Team address informationcountry
(string, required) - Country namestreet
(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 code
{
"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",
"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": "admin"
}
id
(string, required) - User ID of the member to addrole
(string, optional) - Member role (default: "viewer"). Options: "admin", "member", "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"
}
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 |
invoice_pdf_notes | string | Notes added to PDF invoices |
override_item_description | string | Override all item descriptions |
{
"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 |
member | 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"
}