Used to authorise a user with a one time pincode Deprecated
When sending out roster reminders a new pincode is generated and can be added to the email. This pincode can be used to validate the user, once used - is removed.
body property required
- name: pincode in: body description: the pincode to check required: true type: integer example: 31320
GET /rosters/pincode
curl \
-X GET https://YOURSITE.infoodle.com/apiv2/rosters/pincode \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"success": "ok",
"roster_url": "https://demo.infoodle.com/rosterresponse?roster=4gfe34f"
}
Response examples (400)
[
{
"error": "Invalid parameters. 5 digit pincode is required"
}
]
Response examples (404)
[
{
"error": "Roster pincode is invalid."
}
]