Learn how to securely authenticate with the Mudstack API using API keys and JSON Web Tokens (JWTs).
token
field contains your JWT, which is valid for the duration specified in expires_in
(in seconds).Authorization
header for all subsequent API requests:
Authorization
header, some endpoints require additional headers to validate resource access or ownership. These headers are:
x-account-id
: Specifies the account ID associated with the request. Required for endpoints that operate at the account level.x-workspace-id
: Specifies the workspace ID associated with the request. Required for endpoints that operate within a specific workspace.x-account-id
and x-workspace-id
values match the resources you are trying to access.x-account-id
and x-workspace-id
headers are correct and match the requested resource.