Partner API
Get a workspace token
Issues a one-hour bearer token (mgw_…) for this one customer workspace. Use it on the Platform API to configure the workspace with your partner access. Call again to refresh. It cannot mint credentials or message the contacts of the customer, and stops working when the customer revokes Partner API access.
POST
Get a workspace token
Authorizations
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
The managed customer workspace (company id)
Response
Available options:
Bearer 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)$Required range:
0 < x <= 9007199254740991