gigstack API
  1. Clients
gigstack API
  • Clients
    • List clients
      GET
    • Create client
      POST
    • Get client
      GET
    • Update client
      PUT
    • Delete client
      DELETE
    • Validate client fiscal information
      POST
    • Get customer portal access token
      POST
    • Stamp pending receipts
      POST
  • Services
    • List services
      GET
    • Create service
      POST
    • Get service
      GET
    • Update service
      PUT
    • Delete service
      DELETE
  • Invoices
    • List income invoices
      GET
    • Create income invoice
      POST
    • Get income invoice
      GET
    • Get invoice files
      GET
    • Cancel invoice
      DELETE
  • Payments
    • List payments
      GET
    • Get payment
      GET
    • Cancel payment
      DELETE
    • Request payment
      POST
    • Register payment
      POST
    • Mark payment as paid
      POST
    • Refund payment
      POST
  • Teams
    • List teams
    • Create team
    • Get team
    • Update team
    • Get team integrations
    • Add team member
    • Remove team member
    • Get team series
    • Create team series
    • Update team series
    • Update team settings
  • Users
    • List users
    • Create user
    • Get user
    • Update user
    • Reset user password
  1. Clients

Create client

Prod Env
https://api.gigstack.io/v2
Prod Env
https://api.gigstack.io/v2
POST
https://api.gigstack.io/v2
/clients
Create a new client with fiscal information for Mexican tax compliance.
gigstack Connect: Create clients for other teams using the team parameter.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.gigstack.io/v2/clients' \
--header 'Content-Type: application/json' \
--data-raw '{
    "address": {
        "country": "Mexico",
        "street": "Av. Insurgentes Sur",
        "zip": "03100",
        "city": "Ciudad de México",
        "state": "CDMX",
        "exterior": "123",
        "interior": "4B",
        "municipality": "Benito Juárez",
        "neighborhood": "Del Valle"
    },
    "name": "Juan Pérez García",
    "company": "Empresa SA de CV",
    "phone": "+52 55 1234 5678",
    "email": "juan.perez@ejemplo.com",
    "bcc": [
        "admin@empresa.com"
    ],
    "metadata": {
        "custom_field": "value"
    },
    "legal_name": "Juan Pérez García",
    "tax_id": "PEGJ800101ABC",
    "use": "P01",
    "tax_system": "601",
    "defaults": {
        "avoid_legal_name_replacer": false,
        "avoid_next_invoices": false,
        "invoiceable_receipts": true
    }
}'
Response Response Example
200 - Example 1
{
    "message": "Operation completed successfully",
    "data": {}
}

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Query Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Client created successfully
Body

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🔴500Server Error
Modified at 2025-08-19 00:01:14
Previous
List clients
Next
Get client
Built with