https://api.change.org/v1/petitions/get_id?petition_url=http%3A%2F%2Fwww.change.org%2Fpetitions%2Fask-starfleet-to-add-a-purple-uniform&api_key=MY_API_KEY
i get the error
{"result":"failure","messages":["unauthorized request"]}
I've also tried the example from here: https://www.change.org/developers/tutorials/a-basic-request
But the result is the same... I've put in the correct api_key but still get this error:
{"result":"failure","messages":["unauthorized request"]}
Is the API still working? Could you please tell me what i'm doing wrong and/or post a working example code?
I would like to get the petition ID and signature count of a campaign and then include the signature nr. on the offical website for the campaign (not the change.org one of course).