url to authorize the connection; on completion Apple redirects back to your successUrl (or errorUrl on failure). The link is valid for 1 day.locationId).locationId).{
"input": {
"locationId": "TG9jYXRpb246MQ==",
"successUrl": "https://app.synup.com/apple/success",
"errorUrl": "https://app.synup.com/apple/error"
}
}curl --location 'https://api.synup.com/api/v4/connected-accounts/connect-apple' \
--header 'Synup-Version: 2026-04-17' \
--header 'Authorization: API T9V35W3xxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
"input": {
"locationId": "TG9jYXRpb246MQ==",
"successUrl": "https://app.synup.com/apple/success",
"errorUrl": "https://app.synup.com/apple/error"
}
}'{
"data": {
"connectLinkForApple": {
"success": true,
"url": "string",
"errors": [
{
"code": "string",
"message": "string",
"contextInfo": [
{}
]
}
],
"clientMutationId": "string"
}
}
}