Skip to content

See whether there is a version of the terms of service for you to accept

GET
/api/me/terms
curl --request GET \
--url https://forge.example.com/api/me/terms \
--header 'Authorization: Bearer <token>'

document is the version to accept, or null when nobody is asked: the terms are not published yet, or the instance is a customer’s own. accepted is your acceptance of that version. required says the version is in effect and you have not accepted it; a version that is only announced can wait. For people only.

OK

Media typeapplication/json
object
applies
required
boolean
document
required
One of:
null
accepted
required
One of:
null
required
required
boolean
firstTime
required
boolean

Example generated

{
"applies": true,
"document": {
"kind": "example",
"title": "example",
"version": "example",
"effective": "2026-04-15",
"summary": "example"
},
"accepted": {
"version": "example",
"acceptedAt": "2026-04-15T12:00:00Z",
"context": "example"
},
"required": true,
"firstTime": true
}

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}