POST /polls/{pollId}/invitesinvites someone to an open poll by email. Pass an optionalnameand it fills in the name on their response when they open their personalinviteUrl. New error codes:POLL_NOT_OPEN,ALREADY_INVITED,ALREADY_RESPONDED,INVITE_LIMIT_EXCEEDEDandINVITE_EMAIL_FAILED. When the space sends participant emails itself, Rallly emails nothing and the invite limits do not apply.- The
poll.invite.createdwebhook carries the invitee’sname, ornullwhen none was given. - The
poll.participant.createdandpoll.participant.updatedwebhooks carryparticipant.invite,{ id, email }, when the response came through an invitee’s personal link, andnullotherwise, so a response can be matched to the invite that asked for it.
Participants now carry
editUrl, the link that lets them change their response without signing in, on both GET /polls/{pollId}/participants and GET /polls/{pollId}/participants/{participantId}. It is the same link their confirmation email carried. Anyone holding it can edit the response, so share it only with that participant.Polls created through the API now count against a monthly quota per space. Pro includes 50 a month, and the space owner can raise it from the API keys settings page.
POST /pollsresponses carryX-Poll-Quota-Limit,X-Poll-Quota-UsedandX-Poll-Quota-Reset.- Once the quota is used up,
POST /pollsreturns429withPOLL_QUOTA_EXCEEDEDand aRetry-Afterheader until the start of the next month. - Reading, listing and deleting polls are unaffected.
The private API at
https://app.rallly.co/api/private is removed. Every request to it returns 410 Gone with the GONE error code. /v1 is unchanged. See Migrating from the private API.GET /polls/{pollId}/participants/{participantId}returns one participant. A missing participant on an existing poll is404withPARTICIPANT_NOT_FOUND.- Participants now carry
availability: one{ start, end, allDay, modifiers }span per option they can make, in start order, on both the list and the single-participant endpoint. A span matches an option of the poll by its time;endis exclusive;ifNeedBeis a modifier.
Webhooks, in beta. A space can register up to five HTTPS endpoints and receive signed, retried deliveries for nine poll and participant events. The event list and payloads may still change, and more events will be added. See Webhooks.The poll and participant resources are unchanged.