HyperTrackDocs
Authentication

Secure embed view

Exchange an embeddable view URL for a short-lived secure URL with an access token appended, for safely embedding HyperTrack views (such as an order view or dashboard) in your own UI. Authenticate with HTTP Basic auth using your account ID and secret key.

POST
/oauth/embed-token

Exchange an embeddable view URL for a short-lived secure URL with an access token appended, for safely embedding HyperTrack views (such as an order view or dashboard) in your own UI. Authenticate with HTTP Basic auth using your account ID and secret key.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/oauth/embed-token" \  -H "Content-Type: application/json" \  -d '{    "embed_url": "https://embed.hypertrack.com/orders/my_order_handle?fulfillment-attempt=0&show-visits-only=true",    "grant_type": "client_credentials"  }'
{  "access_token": "string",  "token_type": "Bearer",  "expires_in": 0,  "embed_url": "string",  "secure_embed_url": "string"}
Empty
Empty
Empty