Skip to content

API (Summary)

Short reference of Wix integration endpoints exposed by ALwrity’s backend.

Authentication

Get Authorization URL

GET /api/wix/auth/url?state=optional_state

OAuth Callback

POST /api/wix/auth/callback
Content-Type: application/json
{
  "code": "authorization_code",
  "state": "optional_state"
}

Connection

Status

GET /api/wix/connection/status

Disconnect

POST /api/wix/disconnect

Publishing

Publish blog post

POST /api/wix/publish
Content-Type: application/json
{
  "title": "Blog Post Title",
  "content": "Markdown",
  "cover_image_url": "https://example.com/image.jpg",
  "category_ids": ["category_id"],
  "tag_ids": ["tag_id_1", "tag_id_2"],
  "publish": true
}

Content Management

Categories

GET /api/wix/categories

Tags

GET /api/wix/tags