Skip to main content
POST
/
sources
/
{source}
/
pin
Pin a source's recipe
curl --request POST \
  --url https://app.vern.so/api/v1/sources/{source}/pin \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "run_id": "d4c3b2a1-9f8e-47d6-b5a4-c3d2e1f0a9b8"
}
'
{
  "source": "Salesforce",
  "pinned_recipe_run_id": "d4c3b2a1-9f8e-47d6-b5a4-c3d2e1f0a9b8"
}

Authorizations

x-api-key
string
header
required

Your Vern API key. Create one at Settings → API keys.

Path Parameters

source
string
required

The source name (URL-encode spaces).

Body

application/json
run_id
string<uuid> | null
required

The run whose recipe to pin, or null to unpin.

Response

The updated pin.

source
string
pinned_recipe_run_id
string<uuid> | null