Median

PATCH /integrations/email

Updated Oct 1, 20261 minute read

Switch email support

Turning it on for the first time issues the workspace its address, so this can fail on a slug somebody else's address was already minted from. Mail sent there becomes conversations in the inbox.

Part of Integrations.

Request body

application/json, required.

FieldTypeRequiredDescription
enabledbooleanYes

Responses

StatusDescription
200The address, and whether it is taking mail.
400The request is malformed, and the message names the field.
401The bearer token is missing, revoked, or expired.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

200 body

FieldTypeRequiredDescription
addressstringNo
enabledbooleanNo

Example request

curl -X PATCH https://api.median.sh/v1/integrations/email \
  -H "Authorization: Bearer $BEARER_AUTH"

Still need help?

    Esc