The basics
The address, the sign-in and the header every call needs.
The address
Every call goes to the base URL https://api.mapifest.com/v0.
So the URL for /mapplication would be https://api.mapifest.com/v0/mapplication.
A typical API call’s content type is JSON – so use header Content-Type: application/json unless the example says otherwise.
Your API token
Create one in admin: on your Profile, under API tokens, press New token. Admin shows the token once, so keep it somewhere safe.
Trade it for a session
No call takes the token itself. Trade it for a session token first:
{"token": "mfy_production_32757454-f071-7007-bd74-596e38a309da_W4iQe0nYoxY26PRun7nr9j1ut0xOXM69S8M2g4El9Xk"}
{"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIzMjc1NzQ1NC1mMDcxLTcwMDctYmQ3NC01OTZlMzhhMzA5ZGEiLCJlbWFpbCI6InRlc3QtdXNlckBleGFtcGxlLmNvbSIsImlzRmVkZXJhdGVkIjpmYWxzZSwidGVybXNBY2NlcHRlZEF0IjoiMjAyNi0xMS0xNlQxMjoxMjoxNy4zMjBaIiwic2NvcGVzIjpbIlJFQUQiLCJXUklURSIsIlBVQkxJU0giXSwiYXBpVG9rZW5JZCI6ImM2YjczOGRhOGRkMjQ1MjEiLCJ0b2tlblVzZSI6IkFDQ0VTUyIsImF1dGhUaW1lIjoxNzk1NjMwMTQwLCJleHBpcmVzQXQiOiIyMDI2LTExLTI1VDE5OjA5OjAwLjAwMFoiLCJpYXQiOjE3OTU2MzAxNDAsImV4cCI6MTc5NTYzMzc0MH0.DcMGMnwY2nWMQB3iQDpOqJ2HWIcsvaVfwWr_vQUHq8s","expiresAt": "2026-11-25T19:09:00.000Z","user": {"email": "test-user@example.com","scopes": ["READ","WRITE","PUBLISH"],…}}
The response’s token is your session token.
Include it in every API call
[{"id": "d54d8cf0-3fc4-4fd0-a6e6-fdb01b8ab48e","mapplication": {"name": "Harbour Days",…},…}]
A mapplication’s id is what its calls take, where a path says {mapplicationId}.
In curl
Anything that sends HTTP requests can call the API. In curl, the two calls above are these, with your own token and session in place of the examples:
curl -X POST https://api.mapifest.com/v0/auth/exchange \-H 'Content-Type: application/json' \-d '{"token": "mfy_production_32757454-f071-7007-bd74-596e38a309da_W4iQe0nYoxY26PRun7nr9j1ut0xOXM69S8M2g4El9Xk"}'curl https://api.mapifest.com/v0/mapplication \-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIzMjc1NzQ1NC1mMDcxLTcwMDctYmQ3NC01OTZlMzhhMzA5ZGEiLCJlbWFpbCI6InRlc3QtdXNlckBleGFtcGxlLmNvbSIsImlzRmVkZXJhdGVkIjpmYWxzZSwidGVybXNBY2NlcHRlZEF0IjoiMjAyNi0xMS0xNlQxMjoxMjoxNy4zMjBaIiwic2NvcGVzIjpbIlJFQUQiLCJXUklURSIsIlBVQkxJU0giXSwiYXBpVG9rZW5JZCI6ImM2YjczOGRhOGRkMjQ1MjEiLCJ0b2tlblVzZSI6IkFDQ0VTUyIsImF1dGhUaW1lIjoxNzk1NjMwMTQwLCJleHBpcmVzQXQiOiIyMDI2LTExLTI1VDE5OjA5OjAwLjAwMFoiLCJpYXQiOjE3OTU2MzAxNDAsImV4cCI6MTc5NTYzMzc0MH0.DcMGMnwY2nWMQB3iQDpOqJ2HWIcsvaVfwWr_vQUHq8s' \-H 'Content-Type: application/json'
On token expiry
Once the session’s hour is up, every call answers 401:
{"error": "Invalid or expired session"}
Trade your token for a new session, and call again. Every refusal has a status of 400 or more, and an error that says what went wrong. The API reference lists each call’s.