Skip to main content
POST
Create snapshot
Creates a hosted snapshot of one provider. API providers return a mock API base URL; UI providers return a browser application URL. Both remain available until the TTL expires. Base URL: https://simulation.ressl.ai
Mock URL shape: https://{snapshotId}.{slug}.mock.ressl.cc
Provisioning may take up to a few minutes.

Path parameters

string
required
Provider slug from GET /providers/list.

Headers

string
required
Bearer rsk_... (or use X-API-Key instead).
string
application/json when sending a body.

Body

All fields are optional. An empty body uses defaults (ttl: "1h", empty seed).
string
default:"1h"
Lifetime of the snapshot. Forms like 15m, 6h, or 1d. Maximum 7d.
object
Initial mock data for API providers. Recommended shape: { "<slug>": { "<Resource>": [ … ] } }. If the top-level slug key is missing, the API wraps the object using the path slug. Omit or null for { "<slug>": {} }. UI providers ignore this field and use built-in data. For details, see Salesforce or LinkedIn UI clone.
object
Provider-specific emulator overrides. For salesforce, this is describe JSON that fully replaces baked metadata for the snapshot. Omit to keep baked describes. UI providers ignore this field. See Salesforce.

Response

string
required
Snapshot id (also the subdomain label on the mock URL).
string
required
Provider that was provisioned.
string
required
Public snapshot URL. Use it as an API base URL for API providers or open it in a browser for UI providers.
string
required
ISO-8601 expiry time from ttl.
string
required
Normalized TTL that was applied.

Example

Errors