Update by email — who may send the file
const url = 'https://shareout.site/v1/artifacts/example/email-sync/senders';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"senders":["ana@acme.com"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://shareout.site/v1/artifacts/example/email-sync/senders \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "senders": [ "ana@acme.com" ] }'Replaces the list of addresses allowed to update the page by email, and turns the page’s inbox on (its address is in the response). Call it before creating the email_sheet_sync job, which refuses an empty list. Exact addresses, or a company @domain; never a whole free-mail domain (@gmail.com, @outlook.com, …). Mail from anyone else is bounced, and so is mail whose sender Cloudflare cannot vouch for (DMARC, or a DKIM signature by the sender’s own domain). Owner or editor of the page. It also turns a switched-off address back on (state: inbox_off).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Artifact ID (e.g. art_abc123).
Request Bodyrequired
Section titled “Request Bodyrequired”object
Responses
Section titled “Responses”The address to send to and the saved list
object
Example generated
{ "address": "example", "senders": [ "example" ]}BAD_SENDER (param = the entry) — not an email address; FREE_MAIL_DOMAIN — a whole free-mail domain; NO_SENDERS — the list is empty; TOO_MANY_SENDERS; VALIDATION_ERROR.
object
Human-readable message.
Machine-readable error code.
Correlation id (also the X-Request-Id header). Quote it in support tickets.
Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.
What to do next, in plain words.
The request field at fault.
Doc page for this error.
Present on 5xx — how to reach a human.
object
Example
{ "success": false, "support": { "how": "POST /v1/support/tickets", "include": [ "request_id" ] }}Authentication required
object
Human-readable message.
Machine-readable error code.
Correlation id (also the X-Request-Id header). Quote it in support tickets.
Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.
What to do next, in plain words.
The request field at fault.
Doc page for this error.
Present on 5xx — how to reach a human.
object
Example
{ "success": false, "support": { "how": "POST /v1/support/tickets", "include": [ "request_id" ] }}Resource not found
object
Human-readable message.
Machine-readable error code.
Correlation id (also the X-Request-Id header). Quote it in support tickets.
Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.
What to do next, in plain words.
The request field at fault.
Doc page for this error.
Present on 5xx — how to reach a human.
object
Example
{ "success": false, "support": { "how": "POST /v1/support/tickets", "include": [ "request_id" ] }}