Skip to main content
POST
Permission Required: project:edit-tests
Create a new shared step collection in your project. Once created, the collection can be referenced from any verification test by adding a { "type": "collection", "collection_id": "..." } item.

Request Body

shared_step
object
required
Shared step definition

Response

Returns the newly created shared step with status 201. Same shape as Get Shared Step.

Authorizations

X-Api-Key
string
header
required

API key for authentication

Path Parameters

projectId
string
required

The project ID. You can copy it from the project settings page or the project URL in the dashboard.

Body

application/json
shared_step
object
required

Response

Shared step created

id
string
project_id
string
name
string
version
integer
is_shared
boolean
created_at
string<date-time> | null
created_by
string | null
steps_by_key
object
step_order
string[]