Skip to main content
GET
/
v1
/
environments
/
{environmentId}
/
start-hooks
Get Start Hook
curl --request GET \
  --url https://api.tryreplicas.com/v1/environments/{environmentId}/start-hooks \
  --header 'Authorization: Bearer <token>'
{
  "start_hook": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "version": 123,
    "content": "<string>",
    "is_active": true,
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Obtain your API key from the Replicas dashboard under Settings > API Keys.

Path Parameters

environmentId
string
required

Environment UUID, or the literal string global.

Response

Successful response

start_hook
object
required

The active start hook for the environment (null if none has ever been saved).