Skip to main content
Use this flow for backend services that run on behalf of your Link4Sync account. OAuth is documented for HTTPS only, so the token never travels unencrypted.
For a service that should not hold your account password, create a producer subaccount and get its token with client credentials instead. Accounts created with Google or Microsoft have no Link4Sync password and must use a subaccount.

Before you start

Set these environment variables:

1. Get an access token

2. Publish an event

A successful publish returns 202 Accepted.
The token expires. Request a new one when you get 401.
A service that should not hold your account password can use the topic’s producer credential instead. See HTTP(S) with SCRAM.