curl --request POST \
--url https://1a557de0-701c-477d-bedd-433520441dae.mock.pstmn.io/api/auth/token \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"grantType": "client_credentials",
"clientId": "your-client-id",
"clientSecret": "your-client-secret",
"username": "[email protected]",
"password": "password"
}
'