X-Internal-API-Key (partner-issued),Authorization: Bearer API token. Bearer tokens are scoped to aIdempotency-Key header (UUID v4) is required. Retries withplan_id: "free" — direct Firestore write, no Stripe, instant activation.stripe.subscriptions.create with the suppliedbillingAccount.haveAPIAccessXAXX010101000). Customers can later upload their own viaPOST /v2/teams/{team_id}/sat-connection. Clients, payments, services,curl --location 'https://api.gigstack.io/v2/auth/signup' \
--header 'X-Internal-API-Key;' \
--header 'Idempotency-Key;' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "agent@example.com",
"name": "Agent Builder Inc",
"rfc": "XAXX010101000",
"country": "MEX",
"plan_id": "agent-tier",
"billing_cycle": "monthly",
"stripe_payment_method": "pm_1Q...",
"livemode": true,
"partner_ref": "SANTIAGO-A7K9",
"metadata": {
"source": "my-agent-cli"
}
}'{
"user_id": "aJGZiWGWQGfZEZk9XbtShj3pxBx2",
"team_id": "team_xxx",
"billing_account_id": "ba_xxx",
"subscription": {
"id": "sub_1Q...",
"status": "active",
"current_period_end": 1740000000
},
"api_keys": {
"live": "eyJhbGciOi...",
"test": "eyJhbGciOi..."
},
"next_steps": {
"fiel_upload_url": "POST /v2/teams/{team_id}/sat-connection",
"manifest_sign_url": "POST /v2/teams/{team_id}/manifest/sign",
"note": "RFC and FIEL only required for CFDI invoicing. Clients, payments, services, receipts, and webhooks all work without them."
}
}