Write $Y=(Y_1,\dots,Y_n)$ and $y=(y_1,\dots,y_n)$. Use the notation
$$p(y_i\mid\alpha,\beta)=P\{Y_i=y_i\mid\alpha,\beta\}\, .$$
Your initial difficulty seems to be related to the fact that you fail to see that
$$Y_i\mid\alpha,\beta\sim \mathrm{Ber}\left(\frac{1}{1+e^{-(\alpha+\beta x_i)}}\right) \, .$$
Now, you have to remember that for any Bernoulli random variable you can write its probability function as
$$
\left( \textrm{pr. of success} \right)^\textrm{value of the r.v.} \left( \textrm{pr. of failure} \right)^\textrm{1 - value of the r.v.} \, .
$$
So, in the present case we have
$$
p(y_i\mid\alpha,\beta) = \left( \frac{1}{1+e^{-(\alpha+\beta x_i)}} \right)^{y_i} \left( \frac{e^{-(\alpha+\beta x_i)}}{1+e^{-(\alpha+\beta x_i)}}\right)^{1-y_i} \, .
$$
Now, using conditional independence as usual, you will find (by simple algebra that I will not provide) that
$$
p(y\mid\alpha,\beta) = \prod_{i=1}^n p(y_i\mid\alpha,\beta) = \frac{e^{-\left( n\alpha +\beta \sum_{i=1}^n x_i -\alpha\sum_{i=1}^n y_i -\beta \sum_{i=1}^n x_i y_i \right)}}{\prod_{i=1}^n \left( 1+e^{-(\alpha+\beta x_i)} \right) } \, ,
$$
and from that (why?) you can infer that $T(Y)=\left(
\sum_{i=1}^n Y_i,\sum_{i=1}^n x_i Y_i\right)$ is sufficient for $(\alpha,\beta)$.
As for the minimality, from the above results, it is easy to see that
$$
\frac{p(y\mid\alpha,\beta)}{p(z\mid\alpha,\beta)} = \exp \left( \alpha\left(\sum_{i=1}^n y_i - \sum_{i=1}^n z_i \right) + \beta\left(\sum_{i=1}^n x_i y_i - \sum_{i=1}^n x_i z_i \right) \right) \, ,
$$
and this ratio, seem as a function of $(\alpha,\beta)$, is a constant if and only if $\sum_{i=1}^n y_i = \sum_{i=1}^n z_i$ and $\sum_{i=1}^n x_i y_i = \sum_{i=1}^n x_i z_i$ (why?), which is equivalent to $T(y)=T(z)$.