Skip to content

Permissions Requested by an Application

Request

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.

Security
BearerPartnerUser
Path
company_idintegerrequired

Location ID

application_idintegerrequired

Application ID

Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
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>'

Responses

List of declared permissions

Bodyapplication/json
successboolean(Successful response status)

Response status.

Example:true
dataArray of objects

Permissions declared by the application

Example:
[ { "title": "Manage clients", "slug": "clients", "child_permissions": [ … ] } ]
metaArray of any or object(Empty meta object)

Additional response data (empty object or empty array)

Example:
{}
Response
{ "success": true, "data": [ { … } ], "meta": [] }