Lists

Add entries

Adds entries to the lists named in the body. Entries already there are left alone. Same key requirements as replacing.

post/mailboxes/{address}/lists

Request

  • Base URL: https://faivelo.com/api/v1
  • URL: https://faivelo.com/api/v1/mailboxes/{address}/lists
  • Auth: HTTP bearer

Path parameters

addressstring required

Full mailbox address, e.g. user@yourdomain.com

Request body

Example request

{
  "receive": {
    "allow": [
      "acme.com"
    ]
  },
  "send": {
    "block": [
      "competitor.com"
    ]
  }
}

Response

All four lists as they stand now

successboolean

Example response

{
  "success": true,
  "data": {
    "send": {
      "allow": [
        "acme.com",
        "ceo@partner.io"
      ],
      "block": [
        "spammer.com"
      ]
    },
    "receive": {
      "allow": [
        "acme.com",
        "ceo@partner.io"
      ],
      "block": [
        "spammer.com"
      ]
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.