How do I sync members from my app to PixelGlass?
Make a staff key as an admin, then use the admin's JSON: find a member by address, add one who is missing, change names, addresses and labels, and change many members at once with the batch.
How does my app find a member without PixelGlass ids?
Ask /pixel/members.json with the email address. The answer holds that one member, or none.
What happens when the address is already a member?
Adding it, or changing another member to it, answers 409. A bad field answers 422, so your code tells the two apart without reading the sentence.
Does adding a member through the API send an email?
No. A member added this way is confirmed and gets no email. It joins the newsletters you name, or the lists that take new sign-ups.
How do labels work through the API?
The labels you send replace the member's labels. To add one, send the ones they wear with it, or use add_label in the batch.
Who may a staff key change members as?
As the person who made it. An editor's key reads the list. An admin's or the owner's key adds, changes and deletes members.