Check if mturk WorkerID exists via (PHP) API

0

Hi guys,

I'm new to mturk and the API. I'm wondering if there is an easy way to check if a specific WorkerID is existing on the mturk platfrom? I couldn't find an easy solution directly, but it might be that I'm just lacking of experience in using mturk and the API.
I'm using the PHP API, but I'm open to accept also other ways to check it.

Thanks,
Max

MaxLo
asked 4 years ago189 views
2 Answers
0

Hello Max,

I think any operation that associates an attribute to a Worker would most likely return an error if the WorkerID did not exist. I'm not as familiar with the more nuanced aspects of the API, but a Worker has to exist to be able to grant them a Custom Qualification. Workers don't have to submit an assignment to be issued a Custom Qualification by a Requester.

You could create a Custom Qualification and try to grant it to the WorkerID you have in mind. In theory, if it doesn't work, then that should mean the ID does not exist.

https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_AssociateQualificationWithWorkerOperation.html

If you have any other questions please contact us at mturk-requester-support@amazon.com.

-Adam J

AWS
answered 4 years ago
0

Hi Adam J,

thank you very much for your answer. It works the way you explained it.

Best
Max

MaxLo
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions