Creating a ticket accepts an optional location. It is only honoured when the body also pins the ticket to a real drawing with map:
Omit map and the ticket lands on the project geo map instead. On that path your location is discarded and replaced by a fixed default (52.396734, 4.848101, zoom: 18) — see Geo map tickets.

The coordinate space

A drawing is rendered once at upload and sliced into a tile pyramid of seven zoom levels (0–6) of 256 px tiles. Level 6 is the full render; each level below it is a halving. x and y are pixel coordinates in the zoom-0 plane, with the origin at the top-left corner of the rendered page and y increasing downwards. They are not fractions, not percentages, and not a fixed 0–256 range — the axes run to the rendered size divided by 26: Every uploaded PDF is fitted onto an A0 page before rendering, so in practice there are only two shapes: Values are floats — the app writes full precision, e.g. 70.37382900555563.
1

Read the drawing's render size

A map without renderinfo has not finished tiling yet; wait and re-read before placing tickets on it.
2

Convert your point to x/y

If you know where the defect sits as a fraction of the page — u across, v down, both 0–1:
If you have a pixel position in your own raster of the page, W × H:
A point 45% across and 62% down the portrait drawing above:
3

Pick a zoom

zoom is the level the map was displayed at when the pin was dropped — 0 (whole drawing) to 6 (maximum detail). It is recorded metadata, not a position: the apps place the marker from x/y alone, so zoom never moves the pin. It matters for the snapshot you may want to render alongside it.Pick the level at which the defect is legible. The web app writes 1–4 for a normal placement; 2 is a reasonable default.
Do not send zoom: 0 — the server treats it as “not supplied” and stores 18 instead, a level that does not exist for a drawing. Send 1 if you want the widest view.
4

Create the ticket

groupId is optional — it defaults to the target map’s group, and is rejected with 422 if it names a different one.
5

Verify the pin landed where you meant

Read the ticket back and compare location, then open the drawing in the app. Coordinates are not range-checked: an x beyond renderinfo.width / 64 is accepted and puts the marker in the empty padding beside the page, where nobody will find it.

Where the page sits inside the plane

The plane is the A0 page, not the drawing on it. A source PDF whose aspect ratio is not A0 is scaled to fit and centred, so the drawing itself is inset with a margin, and fractions measured against your own PDF will be off by that margin. Two ways to deal with it:
  • Measure against the tiles, not the source. Fetch tiles_0_0x0 (a 256 × 256 image whose top-left width/64 × height/64 pixels are the page, the rest transparent padding) and take your fractions from that.
  • Calibrate with two reference pins. Place two tickets in the app at known real-world points, read their location back, and solve the affine transform from your coordinate system to x/y:
    This absorbs the A0 fitting, the margin and any scale difference in one go, and is the sturdiest option for coordinates coming out of BIM or CAD.

The other location fields

Every coordinate you do send must be a number; a string is rejected with 422 and an application/problem+json body naming the field.

Geo map tickets

When map is omitted the ticket goes on the project geo map and the server substitutes a fixed default location — your x, y, zoom, latitude and longitude are all dropped without a word. Placing a ticket at real coordinates on the geo map is not possible through the public API today.
Reading coordinates rather than writing them? The same location object comes back on every ticket — see Read tickets. To show tickets in a GIS, use latitude/longitude, not x/y: x/y are a position on the drawing. Skip tickets whose latitude and longitude are 0 — no GPS position was recorded for them.