Skip to main content
POST
cURL

Authorizations

X-Access-Key
string
header
required

An API key is a token that a client provides when making API calls. Send it as the X-Access-Key request header on any endpoint:

Learn how to generate API access tokens at Tenderly Docs.

Path Parameters

accountSlug
string
required

Account slug of the user

projectSlug
string
required

Project slug of the account

Body

application/json

Request body for creating a simulation draft.

payload
Simulation draft payload · object
required

A Simulator form snapshot. The API stores it as received; the dashboard validates it when the draft opens. A wrong v, an empty rows array, a non-string contractAddress, or a wrong-typed row field rejects the whole draft on open.

shared
boolean
default:false

false (default) scopes the draft to the project in the URL: only its members can open it. true makes the draft openable by any signed-in Tenderly user in a project of their choice.

Example:

false

Response

The draft was stored.

resource_id
string<uuid>
required

ID of the stored draft. Use it as the draftId query parameter of the dashboard link: https://dashboard.tenderly.co/simulator/new?draftId={resource_id}.

Example:

"3f2a6c1e-8f1b-4c8e-9a2d-6b1e0f7c4d21"