curl --location --request POST 'https://medusa-url.com/admin/apps/authorizations' \
--header 'Authorization: Bearer {api_token}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "application_name": "example",
    "state": "ready",
    "code": "token"
}'
