Skip to main content
POST
Get a workspace token

Authorizations

Authorization
string
header
required

Partner API only (/v4/partner/*): a Partner API key (format: mgp_) from the Partner portal. Its workspace tokens (mgw…) authenticate on the other Platform API endpoints like an API key, for one customer workspace.

Path Parameters

companyId
string<uuid>
required

The managed customer workspace (company id)

Response

token
string
required
tokenType
enum<string>
required
Available options:
Bearer
companyId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$
expiresAt
string<date-time>
required
expiresIn
integer
required
Required range: 0 < x <= 9007199254740991