Skip to content

Application Installation for a Location

Request

Step 2 of the two-step installation handshake — the partner confirms the installation and delivers integration settings.

Host: this partner callback is served from the https://app.alteg.io > root — not under https://api.alteg.io/api/v1. The full URL is > https://app.alteg.io/marketplace/partner/callback.

After the owner grants access with Connect an Application to a Location the application–location link is pending. Send this callback with your Partner Token (Account settings) to move the link to active, link the system user, and apply the integration settings below.

Confirmation window: you have 12 hours after the owner connects to send this callback. If you do not confirm in time, the link stays pending and the owner must reconnect. Verify the resulting status with Application Status Data for Any Location.

Security
BearerPartner
Headers
Acceptstringrequired

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

Example:application/vnd.api.v2+json
Bodyapplication/json
salon_idnumberrequired

Location ID.

Example:123
application_idnumberrequired

Application ID.

Example:123
api_keystring

API-key for messaging module.

Example:"2f181e2a-5c22-4ae7-9d9b-07104f312c28"
webhook_urlsArray of strings, (uri)

Location entity webhook destinations installed with the event flags enabled for this application. Newly installed schedule subscriptions emit update events. The separate application lifecycle callback uses callback_url.

Example:
[ "https://example.com/webhook" ]
chat_urlstring, (uri)

HTTPS URL for the application's Chat iframe in the timetable and appointment UI. For a normal application this is the supported way to install the chat frame during activation.

Example:"https://example.com/altegio/chat"
tips_urlstring, (uri)

Tips integration URL. Used only by compatible application installers.

Example:"https://example.com/altegio/tips"
channelsArray of strings

Notification channels enabled for compatible notification applications.

Items Enum:"sms""whatsapp"
curl -i -X POST \
  https://developer.alteg.io/_mock/en/developers/openapi/marketplace/partner/callback \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "salon_id": 123,
    "application_id": 123,
    "api_key": "2f181e2a-5c22-4ae7-9d9b-07104f312c28",
    "webhook_urls": [
      "https://example.com/webhook"
    ],
    "chat_url": "https://example.com/altegio/chat",
    "tips_url": "https://example.com/altegio/tips",
    "channels": [
      "sms"
    ]
  }'

Responses

All parameters installed

Response
No content