config = $config ?: new Configuration(); } /** * Add email to allowlist * Adds an email to your email rejection allowlist. If the address is currently on your denylist, that denylist entry will be removed automatically. */ public function add($body = []) { return $this->config->post('/whitelists/add', $body); } /** * Remove email from allowlist * Removes an email address from the allowlist. */ public function delete($body = []) { return $this->config->post('/whitelists/delete', $body); } /** * List allowlisted emails * Retrieves your email rejection allowlist. You can provide an email address or search prefix to limit the results. Returns up to 1000 results. */ public function list($body = []) { return $this->config->post('/whitelists/list', $body); } }