Help Centre

Can I recuse an entrant from judging their own entry?

You may want to prevent an entrant from judging their own entry, especially if you intend to run a public voting round. It’s possible to do this using our API by leveraging the entry submitted webhook to trigger a recuse action for the entrant.

Steps

1. Create a webhook at Settings > Integrations > Webhooks

2. Select Entry submitted for the event subscription. The Webhook URL is the external service that will accept the payload from the entry submitted event. 

 

Image of webhooks configuration page showing the events.

3. Use the Recuse assignment endpoint in our API to perform the recuse action programatically. This endpoint requires a judge slug and entry slug. In this example the judge slug will be the entrant slug which can be accessed from the entry submitted webhook payload along with the entry slug. 

You’ll need to make a PUT request to the following URL where :slug is the entry slug.

https://api.cr4ce.com/entry/:slug/recuse

The request body must include the judge slug while the score set slug is optional. See the example below:

{
    "judge": "AqkYpvoL",
    "score_set": "lQooYAjX"
}'

Related articles

Table of contents

Featured articles