Skip to main content
POST
Submit a board for placement or routing

Authorizations

x-deeppcb-api-key
string
header
required

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

Body

multipart/form-data
routingType
enum<string>

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

Available options:
EmptyBoard,
CurrentProtectedWiring,
CurrentUnprotectedWiring
boardName
string

Optional name to assign to the board.

requestId
string

Your unique identifier to track this request.

batch
integer<int32>
deprecated

The maximum number of designs to be included in a batch. (Deprecated: ignored, defaults to 1 internally.)

webhookUrl
string

The webhook URL to receive status, designs, and billing updates. Must be a public http or https address.

webhookToken
string

Security token for your webhook.

dsnFile
file

Dsn file containing board data. Allowed extension: .dsn

zukenDesignFile
file

Zuken design file containing design data. Allowed extensions: .dsgf, .pcf

zukenFootprintFile
file

Zuken footprint file containing footprint data. Allowed extension: .ftf

zukenRulesFile
file

Zuken rules file containing board rules data. Allowed extension: .rulf

kicadBoardFile
file

Kicad board file containing board data. Allowed extension: .kicad_pcb

kicadProjectFile
file

Kicad project file containing board project data. Allowed extension: .kicad_pro

kicadSchematicsFiles
file[]

KiCad schematics files containing board schematics data. Allowed extensions: .kicad_sch

altiumFile
file

Altium file containing board data. Allowed extension: .pcbdoc

easyEdaFile
file

EasyEDA file containing board data. Allowed extensions: .json

easyEdaStdSchematicFile
file

EasyEDA Std schematic file accompanying the EasyEDA board file. Allowed extensions: .json

easyEdaProFile
file

EasyEDA Pro file containing board data. Allowed extension: .epro

jsonFile
file

JSON file containing board data in DeepPCB format. Allowed extensions: .json, .deeppcb.

jsonFileUrl
string
default:""

URL to the JSON file in DeepPCB format with max size 100MB. Allowed extensions: .json, .deeppcb.

smartConstraints
boolean

Extracts and merges placement constraints from the board and schematics. Omitted: extraction runs when smart constraints are available for the account, and is skipped otherwise. true: extraction runs, or the request fails with 403 Board.Errors.SmartConstraintsUnavailable when they are not available for the account. false: extraction is skipped.

Callbacks

POST
{$request.body#/webhookUrl}BoardCreationSucceeded

Body

application/json
jobType
string | null
required

JobType can be routing or placement

creditsPerHour
number<double>
required
deprecated

Credits consumed per hour for the board routing process.

creditsPerMinute
number<double>
required
deprecated

Credits consumed per minute for the board routing process.

availableCredits
number<double>
required
deprecated

Remaining credits available in the account.

availableMinutes
number<double>
required

Remaining minutes available in the account.

anomalies
object[] | null
required

List of board anomalies encountered during board creation.

routingAnomalies
object[] | null
required

List of routing anomalies encountered during board creation.

placementAnomalies
object[] | null
required

List of placement anomalies encountered during board creation.

boardJson
string | null
required

Serialized JSON representation of the board.

constraintsJson
string | null
required

Serialized JSON representation of the board placement constraints.

boardViewUrl
string | null
required

Board view URL that redirects to DeepPCB web UI.

Recommended Max Batch Timeout (in seconds).

Response

200

Callback received

POST
{$request.body#/webhookUrl}BoardCreationFailed

Body

application/json
jobType
string | null
required

JobType can be routing or placement

anomalies
object[] | null
required

List of warnings encountered during board creation.

errorMessage
string | null
required

Reason for the board creation failure.

Response

200

Callback received

Response

Accepted

The response is of type string<uuid>.