Skip to main content
Follow the REST app guide. Use providerEndpoint from @bijectionhq/app-rest to bind the collection, and supply Google OAuth contacts.readonly for the account to read.
Pass provider as receivers.provider, with the same label to the binder and as the app’s data. Grant the app’s operator role, then call source.initialize with this profile.
People resource names key rows. An explicit metadata.deleted entry removes its key. The page token advances the current walk, and the terminal sync token starts the next poll. The People API can expire this token after seven days. HTTP 410 with a retained position requires an explicit baseline reset. Rows absent in the replacement baseline stay published. Up to 100 rows and 36 KiB per response. The bundled parser is required. Pages publish rows and their next position together. Use source health and controls to review failures and recover the feed. Provider API reference

Write contacts

Follow the native write app guide. Bind providerWriter("google-contacts.contacts.create-update-delete", { endpoint: "https://people.googleapis.com", auth }, data) and pass it as receivers.writers["google-contacts.contacts.create-update-delete"]. Seal a user OAuth token with Contacts write scope. Create takes a People API Person. Update replaces the complete names and emailAddresses arrays, using the current CONTACT source etag from the read. Pass c… without the people/ prefix as the command ID. Create and update require HTTP 200 and resourceName; delete accepts HTTP 200 for the requested contact. The writer records its evidence under the app’s data label. Commands take up to 24 KiB of JSON and carry no read cursor. Provider write API