Skip to main content

GET /v1/platform/settings

Get your platform’s current configuration settings.

Authentication

Requires Platform API Key in the X-API-Key header.

Request

Response

PUT /v1/platform/settings

Update your platform settings.

Authentication

Requires Platform API Key in the X-API-Key header.

Request

Request Body

redirect_uris
array
Array of allowed OAuth redirect URIs. Must be HTTPS in production (HTTP allowed for localhost).
webhook_url
string
Webhook endpoint URL. Must be HTTPS.

Response

Configuration Options

Redirect URIs

OAuth redirect URIs where users are sent after connecting their calendar. Requirements:
  • Must be HTTPS in production
  • HTTP allowed only for localhost development
  • Maximum 5 redirect URIs per platform
Example:

Webhook URL

URL where Syncline sends webhook events. Requirements:
  • Must be HTTPS
  • Must return 200 OK within 30 seconds
  • Should verify webhook signatures
Example:

Use Cases

Development Environment Setup

Multi-Environment Configuration

Webhook URL Update

Error Responses

Invalid Redirect URI

Invalid Webhook URL

Too Many Redirect URIs

Best Practices

Use Environment Variables

Validate Webhook URL Before Updating

Keep Redirect URIs Minimal

Regenerate API Key

Generate new platform API key

Update Webhook

Configure webhook settings

OAuth URL

Generate OAuth URLs