Although the createSticky endpoint is not available in Figma files, you can manually copy a sticky from a FigJam file and paste it into a Figma file.
Does anyone know if there is a way to do this programatically to get around the limitation of the API?