v1

latestOpenAPI 3.0.3Proprietaryraw.githubusercontent.com2026-03-067260437.0 KB
Clients

Get client customer portal access token

Generate a secure access token for client customer portal.

gigstack Connect: Access other teams' customer portal using the team parameter.

post/clients/customerportal

Query parameters

teamstring

gigstack Connect: Target team ID for multi-team access.

Requires gigstack Connect enabled on your team and shared billing account.

Example: ?team=team_xyz789

Request body

idstring string

Client ID to generate access token for.

emailstring email

Client email address

Example request

{
  "id": "client_1234567890",
  "email": "client@example.com"
}

Response

Customer portal access token generated successfully

messagestring

Example response

{
  "message": "Customer portal retrieved successfully",
  "data": {
    "url": "https://portal.gigstack.pro/portal_123?sessionId=otpcustomerportal_abc&c=secure_code_xyz",
    "expires_at": 1693900800000,
    "session_id": "otpcustomerportal_abc123"
  }
}