Skip to main content
GET
/
headless
/
oauthUrl
Create OAuth Link
curl --request GET \
  --url https://production.runalloy.com/headless/oauthUrl \
  --header 'Authorization: <authorization>' \
  --header 'x-api-version: <x-api-version>'
{
  "oauthUrl": "https://api.runalloy.com/api/strategy/shopify/authorize?userId=xyz123abc098754&shopSubdomain=my-shoe-store"
}

Headers

Authorization
string
default:bearer YOUR_API_KEY
required
x-api-version
string
default:2025-09
required

The version of the API to use. The current API version is 2025-09.

Query Parameters

userId
string
required

The id of the user to generate this link for

app
string
required

The name of the app you want the user to authorize access to

Response

200 - application/json

200

oauthUrl
string
Example:

"https://api.runalloy.com/api/strategy/shopify/authorize?userId=xyz123abc098754&shopSubdomain=my-shoe-store"

I