RelayAPI
Tools
POST
/v1/tools/validate/post
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://api.relayapi.dev/v1/tools/validate/post" \  -H "Content-Type: application/json" \  -d '{    "targets": [      "string"    ],    "scheduled_at": "now"  }'
{
  "valid": true,
  "errors": [
    {
      "target": "string",
      "code": "string",
      "message": "string"
    }
  ],
  "warnings": [
    {
      "target": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}