Vectorizer.AI ➔ Slack API Payload Specification

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

💡 How this integration works:

1. Vectorizer.AI triggers an event when vectorization.completed occurs.
2. Data is packaged into a standard JSON webhook payload.
3. Payload is delivered into your Slack API intake pipeline and mapped to your Messaging targets.

Authentication & Event Specs

ParameterSource (Vectorizer.AI)Destination (Slack API)
Auth MechanismBasic Auth (API Key)OAuth Bot Token
Trigger Eventvectorization.completedIngest Pipeline

Sample Webhook JSON Payload

{
  "event": "vectorization.completed_to_slack",
  "timestamp": 1788105197,
  "source": {
    "platform": "Vectorizer.AI",
    "auth_mode": "Basic Auth (API Key)",
    "data": {
      "task_id": "sample_task_id_val",
      "output_format": "sample_output_format_val",
      "svg_data_url": "sample_svg_data_url_val",
      "processing_ms": "sample_processing_ms_val"
    }
  },
  "destination": {
    "platform": "Slack API",
    "auth_mode": "OAuth Bot Token",
    "target_endpoint": "https://api.slack.com/v1/ingest",
    "mapped_fields": {
      "channel_id": "{{source.task_id}}",
      "user_id": "{{source.output_format}}",
      "text": "{{source.svg_data_url}}",
      "ts": "{{source.processing_ms}}"
    }
  }
}

Quick Integration Setup

  1. Retrieve your secret API credentials from your Vectorizer.AI developer dashboard using authentication method Basic Auth (API Key).
  2. Configure the target endpoint URL to route payloads into the Slack API 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 Basic Auth (API Key) credentials.
422 UnprocessableSchema ErrorCheck field keys alignment between source and target payload.

Related Technical Specifications