Allowed Senders

Allow an email sender

Changed on

Lets an address email the agent's inbox. Who may reach the agent is an access change, so an agent's call always asks the user first. It applies from that sender's next email; anything they sent before stays unanswered. Allowing an address that is already allowed returns it unchanged with 200.

post/email/allowed_senders

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

object required
email, string email required

The sender's email address, e.g. partner@example.org.

Response

Already allowed

AllowedEmailSender required
object, string required
id, string required
email, string required
created_at, string date-time required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    4 more changes in this revision