POST
/
v1
/
validate-template
Validate Template
curl --request POST \
  --url https://api.benchify.com/v1/validate-template \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "return_diagnostics": true,
  "build_cmd": "<string>",
  "dev_cmd": "<string>",
  "tsc_cmd": "<string>",
  "event_id": "<string>",
  "template_id": "<string>",
  "response_format": "DIFF",
  "meta": {
    "external_id": "<string>"
  }
}'
{
  "success": true,
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Benchify API Key. Obtain a key from the Benchify web portal under Settings > Credentials. Provide the key in the Authorization header as Bearer $BENCHIFY_KEY.

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.