Yes, that's right - you need to pass a json payload. Am happy to add some docs to this.