crisp-im / php-crisp-api

:elephant: Crisp API PHP Wrapper
https://docs.crisp.chat/guides/rest-api/
MIT License
58 stars 28 forks source link

Unable to invite an operator to a website #11

Closed rmilesson closed 5 years ago

rmilesson commented 5 years ago

It's currently not possible to invite an operator to a website since WebsiteOperators::createOne requires operatorId as an argument. This operatorId has not yet been created.

This does not match the API as defined in https://docs.crisp.chat/api/v1/#website-website-operator-post

valeriansaliou commented 5 years ago

Thanks. This method should not have been added to the PHP library, as it's an internal route that's not documented for public access. I've removed it from the PHP library in ef00c5419e9737e673f956f35439a6a802133892