gigstack API
  1. Teams
gigstack API
  • Welcome to gigstack API
  • gigstack Connect API Guide
  • Migrar de API v1 a v2 de gigstack
  • Clients
    • Clients API Guide
    • List clients
      GET
    • Get client
      GET
    • Update client
      PUT
    • Create client
      POST
    • Validate client fiscal information
      POST
    • Get client customer portal access token
      POST
    • Stamp pending receipts
      POST
    • Delete client
      DELETE
  • Services
    • Services API Guide
    • List services
      GET
    • Get service
      GET
    • Update service
      PUT
    • Create service
      POST
    • Delete service
      DELETE
  • Invoices
    • Invoices API Guide
    • Income
      • List income invoices
      • Get income invoice
      • Create income invoice
    • Egress
      • List egress invoices
      • Get egress invoice
      • Create egress invoice
    • Get invoice files
    • Cancel invoice
  • Payments
    • Payments API Guide
    • List payments
    • Get payment
    • Request payment
    • Register payment
    • Mark payment as paid
    • Refund payment
    • Cancel payment
  • Receipts
    • Receipts API Guide
    • List receipts
    • Get receipt
    • Create receipt
    • Stamp receipt
    • Cancel receipt
  • Teams
    • Teams API Guide
    • List teams
      GET
    • Get team
      GET
    • Get team integrations
      GET
    • Get team series
      GET
    • Get team onboarding URL
      GET
    • Update team
      PUT
    • Update team series
      PUT
    • Update team settings
      PUT
    • Create team
      POST
    • Add team member
      POST
    • Remove team member
      POST
    • Create team series
      POST
  • Users
    • Users API Guide
    • List users
    • Get user
    • Update user
    • Create user
    • Reset user password
  • Catalogs
    • Tax Regimes Catalog (Régimen Fiscal)
    • Payment Forms | Formas de pago
    • CFDI Usage Catalog (Uso CFDI)
    • Payment Methods Catalog (Método de Pago)
    • Months and Bimesters Catalog (Meses y Bimestres)
    • Invoice Relationships Catalog (Relación entre Facturas)
  1. Teams

Create team

POST
https://api.gigstack.io/v2/teams
Create a new team.
gigstack Connect: Create teams using the team parameter.

Request

Authorization
API Key
Add parameter in header
Authorization
Example:
Authorization: ********************
or
Query Params

Body Params application/jsonRequired

Examples

Responses

🟢200Correcto
application/json
Team created successfully
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.gigstack.io/v2/teams?team' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "address": {
        "country": "Mexico",
        "street": "Av. Reforma",
        "zip": "11000",
        "city": "Ciudad de México",
        "state": "CDMX",
        "exterior": "456",
        "municipality": "Miguel Hidalgo",
        "neighborhood": "Polanco"
    },
    "brand": {
        "alias": "Empresa Innovadora",
        "primary_color": "#2563eb",
        "secondary_color": "#1d4ed8",
        "logo": "https://example.com/logo.png"
    },
    "support_email": "soporte@empresa.com",
    "support_phone": "+52 55 9876 5432",
    "tax_id": "EIN850123ABC",
    "tax_system": "601",
    "generate_onboarding_url": true
}'
Response Response Example
{
    "message": "Team created successfully",
    "data": {
        "id": "team_1234567890",
        "address": {
            "country": "MEX",
            "street": "Av. Insurgentes Sur 456",
            "zip": "03100",
            "city": "Ciudad de México",
            "state": "CDMX"
        },
        "brand": {
            "alias": "Mi Empresa",
            "primary_color": "#007bff",
            "secondary_color": "#6c757d"
        },
        "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": true,
                "category": "payments"
            }
        },
        "onboarding_url": "https://embeded.gigstack.pro/?sessionId=otpOnboarding_abc123&c=secure_token"
    }
}
Modified at 2025-10-09 23:51:05
Previous
Update team settings
Next
Add team member
Built with