Skip to main content
PATCH
Update your account profile

Authorizations

Authorization
string
header
required

Authentication Method: HTTP Bearer token.

The runtime requires the literal Bearer prefix — a bare token in the Authorization header is rejected with 401 unauthorized.

Header Format: Authorization: Bearer YOUR_API_KEY

Your API key is a JWT. Live keys operate on live data (livemode: true); test keys operate on isolated test data (livemode: false).

Get your key at: app.gigstack.pro/settings?tab=api

Errors: credential failures are answered by the authentication layer with a raw { "message": … } body, not the standardized envelope — 401 for a missing, malformed or expired token, 403 for a revoked key or a plan without API access. See the Unauthorized and AuthForbidden responses.

Body

application/json

Supply at least one field. Omitted fields remain unchanged; null clears the supplied field. Email is read-only from Firebase Auth.

first_name
string | null
Maximum string length: 100
last_name
string | null
Maximum string length: 100
phone
string | null
Maximum string length: 31
Pattern: ^\+?[0-9]{1,30}$
country
string | null
Maximum string length: 100
Pattern: ^[A-Z]{3}$
company_role
string | null
Maximum string length: 100

Response

Persisted account state or action result.

success
boolean
required
data
object
required
timestamp
number
required