Skip to main content
POST
Pre-validate a board

Authorizations

x-deeppcb-api-key
string
header
required

Your DeepPCB API key, from the Integration page in the app.

Body

multipart/form-data
jobType
enum<string>

JSON file containing board data in DeepPCB format (either jsonFile or jsonFileUrl must be provided).

Available options:
Routing,
Placement,
Idle
jsonFile
file

JSON file containing the board data (jsonFile or jsonFileUrl has to be provided).

jsonFileUrl
string

URL to the JSON file in DeepPCB format with max size 100MB (either jsonFile or jsonFileUrl must be provided).

routingType
enum<string>

Specifies the routing type (EmptyBoard, CurrentProtectedWiring, or CurrentUnprotectedWiring).

Available options:
EmptyBoard,
CurrentProtectedWiring,
CurrentUnprotectedWiring
webhookUrl
string

Webhook URL to receive board processing updates. Must be a public http or https address.

webhookToken
string

Token used for securing webhook callbacks.

Callbacks

POST
{$request.body#/webhookUrl}BoardChecked

Body

application/json
boardData
object | null
required

Board data after checking

Response

200

Callback received

Response

OK

isValid
boolean

Indicates if the board is valid or not

boardJson
string | null

Board string representation.

warnings
string[] | null

Warnings list

anomalies
object[] | null

Board anomalies list list

error
string | null

Error message