Notion API ➔ Vectorizer.AI Payload Specification

Technical reference for automating data exchange between Workspace and Image Processing workflows.

💡 How this integration works:

1. Notion API triggers an event when page.updated occurs.
2. Data is packaged into a standard JSON webhook payload.
3. Payload is delivered into your Vectorizer.AI intake pipeline and mapped to your Image Processing targets.

Authentication & Event Specs

ParameterSource (Notion API)Destination (Vectorizer.AI)
Auth MechanismBearer Integration TokenBasic Auth (API Key)
Trigger Eventpage.updatedIngest Pipeline

Sample Webhook JSON Payload

{
  "event": "page.updated_to_vectorizer",
  "timestamp": 1788105200,
  "source": {
    "platform": "Notion API",
    "auth_mode": "Bearer Integration Token",
    "data": {
      "page_id": "sample_page_id_val",
      "database_id": "sample_database_id_val",
      "last_edited_by": "sample_last_edited_by_val",
      "properties": "sample_properties_val"
    }
  },
  "destination": {
    "platform": "Vectorizer.AI",
    "auth_mode": "Basic Auth (API Key)",
    "target_endpoint": "https://api.vectorizer.com/v1/ingest",
    "mapped_fields": {
      "task_id": "{{source.page_id}}",
      "output_format": "{{source.database_id}}",
      "svg_data_url": "{{source.last_edited_by}}",
      "processing_ms": "{{source.properties}}"
    }
  }
}

Quick Integration Setup

  1. Retrieve your secret API credentials from your Notion API developer dashboard using authentication method Bearer Integration Token.
  2. Configure the target endpoint URL to route payloads into the Vectorizer.AI intake pipeline.
  3. Map incoming schema properties according to the JSON specification detailed above.

Expected HTTP Response Codes

Status CodeMeaningTroubleshooting Step
200 OKSuccessPayload accepted and queued for routing.
401 UnauthorizedAuth FailureVerify headers for valid Bearer Integration Token credentials.
422 UnprocessableSchema ErrorCheck field keys alignment between source and target payload.

Related Technical Specifications