Resend a keyless start's code
Mail a new 6-digit code, replacing the old code and its tries. Bearer: the keyless key. At most 3 codes in a start's life (the first included), at least 60 seconds apart.
Requires the emails:test scope — Send test emails to your own address from the Sendly sandbox.
AuthorizationBearer <API Key>API key authentication. Use a sk_* (FULL) or pk_* (SENDING_ONLY) key as the bearer token. Public keys (pk_*) are restricted to the email-send endpoints and the self-serve list subscribe/unsubscribe pair; every other endpoint — event tracking included — answers 403 for them. In scope terms (used by /api/v1/* operations): FULL keys hold every scope; SENDING_ONLY keys hold only emails:send.
New code mailed
application/json- response
A new code, sent.
email*stringThe address the new code was sent to.
emailcode_expires_at*stringWhen the new code stops working.
date-timecodes_left*integerHow many more codes this start can be sent.
next*The next step.
curl -X POST 'https://api.sendly.now/api/v1/keyless/resend'{ "email": "user@example.com", "code_expires_at": "2019-08-24T14:15:22Z", "codes_left": 0, "next": { "call": "string", "say": "string" }}