Hi @Jayhe ,
Thanks for confirming the portal version.
Could you please follow the article by @OOlashyn
https://www.dancingwithcrm.com/powerapps-portal-web-api-deep-dive/
And make sure to add the site settings, then in portal studio press sync configuration.
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.