Skip to Content
Reliefs Docs
Management APIProducts

Generate an App Clip scan link

Generates a one-shot capture package for the iOS App Clip scan flow. Returns a presigned upload URL, encrypted payload, and ready-to-use App Clip invocation URL. Valid for 1 hour. Requires a management API key (`mk_`).

POST
/api/v1/management/restaurants/{restaurantId}/products/{productId}/generate-scan-link

Authorization

ManagementApiKey
headerX-Api-Key<token>

Management API key, starts with mk_. Generate one from your dashboard.

Path Parameters

restaurantId*string

Restaurant ID

Formatuuid
productId*string

Product ID

Formatuuid

Response Body

Scan link generated

application/json
  1. response
success*true
Value intrue
data*
Example Request
curl -X POST 'https://api.reliefsapp.com/api/v1/management/restaurants/497f6eca-6276-4993-bfeb-53cbbbba6f08/products/497f6eca-6276-4993-bfeb-53cbbbba6f08/generate-scan-link'
Example Response
{
  "success": true,
  "data": {
    "scanId": "83d71394-faa2-4b6c-b13b-6d3118de459e",
    "presignedUrl": "http://example.com",
    "encryptedPayload": "string",
    "appClipUrl": "http://example.com"
  }
}