gigstack API
  1. Connect
gigstack API
  • gigstack API, your fiscal infraestructure
  • Ping
    • Ping
    • Ping API (GET)
      GET
    • Ping API (POST)
      POST
    • Ping API (PUT)
      PUT
    • Ping API (DELETE)
      DELETE
  • Payments
    • Payments
    • Create a payment
      POST
    • List payments
      GET
    • Get payment by ID
      GET
  • Invoices
    • Invoices
    • Create an invoice
      POST
    • List invoices
      GET
    • Get invoice by ID
      GET
  • Clients
    • Clients
    • Create a client
      POST
    • List clients
      GET
    • Get client by ID
      GET
  • Services
    • Services
    • Create a service
    • List services
    • Get service by ID
  • Receipts
    • Receipts
    • Create a receipt
    • List receipts
    • Get receipt by ID
    • Update receipt
    • Delete receipt
  • Webhooks
    • Webhooks
    • Create a webhook
    • List webhooks
    • Get webhook by ID
    • Delete webhook
  • Catalogs
    • Catalogs
    • List catalogs
    • Get catalog by ID
  • Connect
    • Connect
    • Create a team
      POST
    • List teams
      GET
    • Get team by ID
      GET
    • Update team
      PUT
    • Get team onboarding URL and connection status
      GET
    • Get team members
      GET
    • Update team members
      PUT
    • Remove team members
      DELETE
  1. Connect

Create a team

Develop Env
https://api.gigstack.io/v2
Develop Env
https://api.gigstack.io/v2
POST
https://api.gigstack.io/v2
/connect/teams
Connect
Creates a new team with specified members and configuration
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.gigstack.io/v2/connect/teams' \
--header 'Content-Type: application/json' \
--header 'Authorization;' \
--data-raw '{
    "members": [
        "string"
    ],
    "alias": "string",
    "primaryColor": "string",
    "logoUrl": "http://example.com",
    "legalName": "string",
    "taxId": "string",
    "address": {
        "street": "string",
        "city": "string",
        "state": "string",
        "zip": "string",
        "country": "string"
    },
    "contactEmails": [
        "user@example.com"
    ],
    "supportEmail": "user@example.com",
    "supportPhone": "string",
    "taxSystem": "string",
    "metadata": {}
}'
Response Response Example
200 - Example 1
{
    "data": {
        "id": "string",
        "alias": "string",
        "legalName": "string",
        "logo": "string",
        "primaryColor": "string",
        "setupComplete": true,
        "members": [
            {
                "id": "string",
                "email": "user@example.com",
                "role": "string",
                "isAdmin": true,
                "isSuperAdmin": true,
                "status": "string",
                "permissions": {
                    "invoices": "string",
                    "payments": "string",
                    "expenses": "string",
                    "services": "string"
                }
            }
        ],
        "supportEmail": "user@example.com",
        "address": {
            "street": "string",
            "city": "string",
            "state": "string",
            "zip": "string",
            "country": "string"
        },
        "integrations": {
            "stripe": {
                "completed": true,
                "hasKeys": true
            },
            "facturapi": {
                "completed": true,
                "hasKeys": true
            },
            "sat": {
                "completed": true,
                "provider": "string",
                "hasCertificate": true
            }
        },
        "invoicesCreated": 0,
        "paymentsCreated": 0,
        "receiptsCreated": 0,
        "onboardingUrl": "http://example.com"
    },
    "message": "string",
    "next": "string",
    "totalResults": 0,
    "hasMore": true
}

Request

Authorization
API Key
Add parameter in header
Authorization
Example:
Authorization: ********************
or
Body Params application/json
members
array[string]
required
Array of user IDs to add as team members
alias
string 
required
Team display name
primaryColor
string 
required
Primary brand color (hex format)
logoUrl
string <uri>
required
URL to team logo
legalName
string 
required
Legal business name
taxId
string 
optional
Tax identification number
address
object (Address) 
required
street
string 
optional
city
string 
optional
state
string 
optional
zip
string 
optional
country
string 
optional
contactEmails
array[string <email>]
required
supportEmail
string <email>
required
supportPhone
string 
optional
taxSystem
string 
optional
metadata
object 
optional
Examples

Responses

🟢200OK
application/json
Team created successfully
Body
data
object 
optional
id
string 
optional
Unique team identifier
alias
string 
optional
Team display name
legalName
string 
optional
Legal business name
logo
string 
optional
Team logo URL
primaryColor
string 
optional
Primary brand color
setupComplete
boolean 
optional
Whether team setup is complete
members
array[object (TeamMember) {7}] 
optional
supportEmail
string <email>
optional
address
object 
Address
optional
integrations
object 
TeamIntegrations
optional
invoicesCreated
integer 
optional
paymentsCreated
integer 
optional
receiptsCreated
integer 
optional
onboardingUrl
string <uri>
optional
message
string 
optional
next
string  | null 
optional
totalResults
integer 
optional
hasMore
boolean 
optional
🟠400Bad Request
🟠401Unauthorized
Modified at 2025-06-16 03:36:47
Previous
Connect
Next
List teams
Built with