Text the confirmation code again
Texts the person a fresh code through the confirm's own check, which replaces any code already out for this cart. A cart that needs no code, and every sandbox cart except one at test_place_code, gets code_not_needed; at test_place_code nothing is texted and the code is 000000. On a live build grant, a resend texts a code whenever the confirm would ask for one, which includes while the person has not yet agreed to your application ordering for them.
Request
- Base URL: https://api.layout.link/v1
- URL: https://api.layout.link/v1/carts/{cartId}/confirm/resend-code
- Auth: HTTP bearer
Path parameters
The crt_ id.
Headers
The API version you code against. Optional; without it you get 2026-10-01, the current version. Layout answers with the version it used.
Optional. Any 1 to 255 visible ASCII characters, unique per real intent. A retry with the same key and the same body gets the stored response for 24 hours, with Idempotent-Replayed: true, and is never run twice. The same key with a different body is 409 idempotency_conflict; while the first request is still running it is 409 in_progress with Retry-After. Only a success is stored: any error releases the key so it can be sent again. A 4xx ran nothing. A 5xx may have run, above all a confirm's 500, so read the resource before sending anything changed.
Response
A fresh code was texted to the person. At the sandbox test_place_code nothing is texted; the code is 000000.
Changes
No recorded changes to this operation across all 1 revision of this API.