Skip to content
SynupAPI
Get an API key
POSTapi.synup.com/api/v4/connected-accounts/connect-apple/bulk

Bulk connect link for Apple

Generates an Apple Business Connect OAuth link that connects multiple locations in a single authorization flow. Unlike Connect link for Apple, no locationId is supplied — the set is account/platform-scoped. Redirect the user to the returned url; the link is valid for 1 day.

Use platform to target local (default) or social, and entityId to supply the brand ID when platform is social.

Apple OAuth link variants:

  • Connect link for Apple — single location (locationId).
  • Bulk connect link for Apple — multiple locations (this endpoint).
  • Renew connect link for Apple — re-authorize an expired/revoked token.
Requires an API key. Send it as Authorization: API <your-key> — see Getting started.

Parameters

Headers

NameTypeRequiredDescription
Synup-VersionstringrequiredAPI version date (YYYY-MM-DD).

Body

NameTypeRequiredDescription
inputobjectrequired
input.successUrlstringrequiredRedirect URL on successful authorization.
input.errorUrlstringrequiredRedirect URL on failed authorization.
input.platformstringoptionallocal (default) or social.
input.entityIdstringoptionalBrand ID when platform is social.
input.onboardingbooleanoptional
input.clientMutationIdstringoptional

Request

Request
curl -X POST 'https://api.synup.com/api/v4/connected-accounts/connect-apple/bulk' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "input": {
    "successUrl": "https://app.synup.com/apple/success",
    "errorUrl": "https://app.synup.com/apple/error",
    "platform": "local"
  }
}'

Responses

StatusDescription
200Successful response
401Unauthorized - Invalid or missing API key
Example response (generated from the schema)
{
  "data": {
    "bulkConnectLinkForApple": {
      "success": true,
      "url": "string",
      "errors": [
        {
          "code": "string",
          "message": "string",
          "contextInfo": [
            {}
          ]
        }
      ],
      "clientMutationId": "string"
    }
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.bulkConnectLinkForAppleobjectoptional
data.bulkConnectLinkForApple.successbooleanoptional
data.bulkConnectLinkForApple.urlstringoptionalOAuth link to redirect the user to (1-day TTL).
data.bulkConnectLinkForApple.errorsarray of objectoptional
data.bulkConnectLinkForApple.errors[].codestringoptional
data.bulkConnectLinkForApple.errors[].messagestringoptional
data.bulkConnectLinkForApple.errors[].contextInfoarray of objectoptional
data.bulkConnectLinkForApple.clientMutationIdstringoptional