- Permissions Requested by an Application
Returns the permission groups declared by the application. These are the rights requested for its system user when installed on a Location. The result does not report the system user's current effective rights or prove that the application is installed and active on this Location. Partners can check installation status through GET /marketplace/salon/{location_id}/application/{application_id} on https://app.alteg.io.
Useful before calling Connect an Application to a Location to show the owner exactly what they are granting.
The authenticated user must have the Manage user rights permission on the location.
New to this flow? Follow Install & test your app before moderation from credentials through the final active status check.
- Mock serverhttps://developer.alteg.io/_mock/en/developers/openapi/company/{company_id}/marketplace/applications/{application_id}/permissions
- Productionhttps://api.alteg.io/api/v1/company/{company_id}/marketplace/applications/{application_id}/permissions
curl -i -X GET \
'https://developer.alteg.io/_mock/en/developers/openapi/company/{company_id}/marketplace/applications/{application_id}/permissions' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'List of declared permissions
Permissions declared by the application
[ { "title": "Manage clients", "slug": "clients", "child_permissions": [ … ] } ]
{ "success": true, "data": [ { … } ], "meta": [] }