v1Recursos/Connections/getObtener una URL de conexión de Apple
Obtener una URL de conexión de Apple
Devuelve una URL de autorización de Apple Business Connect para abrir en un navegador. Acepta locationId o clientId, al menos uno; cuando se proporciona locationId, el listado se vincula del lado del servidor sin paso de selección.
get
connections:write/api/v1/connections/apple/connect-urlParámetros de consulta
locationIdstringopcional
La ubicación a conectar. Opcional para Apple: pasa locationId o clientId, al menos uno.
clientIdstringopcional
El cliente de la ubicación. Solo necesario para desambiguar cuando su clave está limitada a clientes específicos.
successUrlstringopcional
A dónde se envía el navegador del cliente tras una conexión exitosa. Debe estar registrada en la clave de API y proporcionarse junto con errorUrl.
errorUrlstringopcional
A dónde se envía el navegador si la conexión falla o se cancela. Misma regla de registro, y se proporciona junto con successUrl.
Respuesta
dataobjectopcional
providerstring (google | facebook | apple)opcional
Qué publisher conecta esta URL: google, facebook o apple.
locationIdstringopcional
La ubicación a la que se empareja esta conexión, o null cuando la conexión se inició con un clientId.
clientIdstringopcional
El cliente al que se limita esta conexión, o null.
urlstringopcional
La URL de autorización — ábrala en un navegador bajo el control del propietario de la cuenta.
successUrlstringopcional
La successUrl usada en esta llamada, o null en modo heredado.
errorUrlstringopcional
La errorUrl usada en esta llamada, o null en modo heredado.
notestringopcional
Indicaciones para abrir la URL. Explica el traspaso de partner cuando successUrl y errorUrl están definidas, o el flujo de sondeo de GET /api/v1/connections en caso contrario.
Errores
400A la solicitud le falta un parámetro obligatorio o es inválida de otra forma.
401La clave de API falta, es inválida, expiró o fue revocada.
403A la clave le falta el permiso requerido, o no está autorizada para este cliente/ubicación.
429Demasiadas solicitudes. Reintente tras el número de segundos indicado en el encabezado Retry-After.
get/api/v1/connections/apple/connect-url
Su clave de API
locationId
clientId
successUrl
errorUrl
{
"data": {
"provider": "apple",
"locationId": "loc_456",
"clientId": null,
"url": "https://businessconnect.apple.com/authorize?client_id=...&redirect_uri=...&scope=...&state=...",
"successUrl": null,
"errorUrl": null,
"note": "Open this URL in a browser under the account owner's control. Apple's account represents the business itself, so with a locationId supplied the listing binds server-side with no picker step. There is no callback; poll GET /api/v1/connections, or pass successUrl and errorUrl to get a one-time code back."
}
}Guías que usan este recurso
- What Is a Business Listings API?A business listings API manages a business's name, address, hours and more across many publishers at once, with sync status and duplicate detection built in.
- Business Listings API: Complete Developer GuideHow a business listings API works and how to create, update, sync and monitor locations across Google, Apple, Bing and directories with the Synup API.
- Google Business Profile API vs a Listings Management APIHow Google's Business Profile API compares with a listings management API on scope, access, sync status, duplicates and reviews, and when to use each.
- How to Add Local Marketing Features to Your SaaSAdd listings management, reviews, Google posts, profile analytics, rank tracking and AI visibility to a SaaS product with the Synup API, tenant by tenant.
- How to Update Business Information Across Google, Apple, Bing and DirectoriesPush one business-information change to Google, Apple, Bing and the directory network through a single API call, and verify it reached each publisher.
- How to Manage Thousands of Business Locations via APIDesign a sync job for thousands of locations on the Synup API with cursor pagination, tags, rate-limit handling, an id map and rollup health checks.
- How Google Business Profile Synchronization WorksGoogle Business Profile sync rests on an owner's OAuth consent, matching a location to the right Google listing, then a write-and-verify loop.
- How to Build a Multi-Location Marketing DashboardBuild a multi-location marketing dashboard from the API's rollup endpoints, one call per panel, covering listings, reviews, rank, AI visibility and duplicates.
- How to Connect and Manage Google Business Profiles via APIConnect a Google Business Profile to a location, match the account's listings, keep the profile in sync and handle reconnects with the Synup API.
- Building Publisher Integrations Directly vs Using SynupWhat it really costs to integrate Google, Apple, Bing and directories yourself, versus one API, and how to decide between them or combine both.