---
title: "Simulate"
method: POST
path: "/api/v1/connector/simulate"
tags: ["Connector"]
---

# Simulate

`POST /api/v1/connector/simulate`

Simulate running the transformation on the payload and code.

## Headers

- `idempotency-key` string

## Request body

- TransformationSimulateIn
  - `code` string, required
  - `eventType` string, required — The event type's name
  - `channels` string[], nullable
  - `payload` object, required

## Response `200`

- TransformationSimulateOut
  - `url` string, uri, required
  - `payload` string, required
  - `method` 'POST' | 'PUT' | 'PATCH'
  - `cancel` boolean, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Validation Error
- `429` — Too Many Requests

---

[API](https://skmtc.net/svix/apis/svix-api.md) · [All operations](https://skmtc.net/svix/apis/svix-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/svix/svix-api/revisions/16dbcc056c48/schema)
