Closed tomasr78 closed 3 days ago
The property that accepts the secret is ConvertApi::setApiSecret('xxxxxx');
. I suggest renaming it to setApiCredentials
because it will match the idea that a secret or token is accepted and not only a secret.
Released in version https://github.com/ConvertAPI/convertapi-library-php/releases/tag/v3.0.0
Change query authentication to bearer authentication.
curl -X GET https://v2.convertapi.com/user -H 'Authorization: Bearer secret_or_token'