How can I add a rectangular geofence from the REST API?

I have some data for a rectangular geofence that I made in the fence creator, but when I send it as in a POST request to another project, it returns “Invalid JSON message”. Is the api call to create a geofence only limited to circles since I do not have a radius for the geometry data?
Here’s my data
{‘name’: ‘Test1’, ‘type’: ‘Feature’, ‘geometry’: {‘type’: ‘MultiPoint’, ‘shapeType’: ‘Rectangle’, ‘coordinates’: [[x1, y1], [x2, y2]]}, ‘properties’: {}}

Thanks in advance

Check quotation marks. They are changed very often by text editors.