- Connect an Application to a Location
Step 1 of the two-step installation handshake — the location owner grants the application access to their location.
Call this on behalf of the location owner (combined partner + user token). On success the application is linked to the location with status pending: the partner service must then confirm the installation with the installation callback to move the link to active.
For non-public (draft/whitelisted) applications the link is activated immediately (fast install) instead of going through pending.
The authenticated user must have the Manage user rights permission on the location. See the end-to-end Install & test your app before moderation guide.
- Mock serverhttps://developer.alteg.io/_mock/en/developers/openapi/company/{company_id}/marketplace/applications/{application_id}/grant_access
- Productionhttps://api.alteg.io/api/v1/company/{company_id}/marketplace/applications/{application_id}/grant_access
curl -i -X POST \
'https://developer.alteg.io/_mock/en/developers/openapi/company/{company_id}/marketplace/applications/{application_id}/grant_access' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'Access granted. The application–location link is created with status pending (or active for fast-install applications).
No content