Get Current Agreement
GET/agreements/types/:agreement-type-id/current
Get the current agreement (version) by type. Successful request will return a single Agreement Version Object.
Valid agreement types are:
1 = Terms of Use - https://mod.io/terms
2 = Privacy Policy - https://mod.io/privacy
3 = Game Terms - https://mod.io/gameterms
4 = API Access Terms - https://mod.io/apiterms
5 = Monetization Terms - https://mod.io/monetization
6 = Acceptable Use Policy - https://mod.io/aup
7 = Cookies Policy - https://mod.io/cookies
8 = Refund Policy - https://mod.io/refund
There are three ways you can display mod.io agreements. Pick which is easiest and most suitable for your implementation.
1. Linking to the applicable agreement using the URLs listed above.
2. Using this endpoint to fetch the applicable agreement and create a UI to display it inline.
3. Web browser overlay to display the applicable agreement inline. If doing this, we recommend prefixing the agreement URL path with /legal
to remove all menus, and if wanting to remove all links add ?no_links=true
to the end of the URL. For example use:
- https://mod.io/legal/terms to remove menus
- https://mod.io/legal/terms?no_links=true to remove menus and links
Request
Error Codes
Status Code | Error Ref | Description |
---|---|---|
404 | 14000 | Agreement could not be found. |
Responses
- 200
- 404
Successful Request
Agreement could not be found.