Submit Score
The Assignment & Grades endpoint tools call to post a grade. You never call this — LTIAAS relays it to your Service URL as a SCORE_POST service request, and passes your status code straight back to the tool.
Requires an access token with the GRADES_WRITE scope.
Path Parameters
The URL-encoded context identifier — the same context value you supplied when starting the launch.
The line item identifier your Service URL assigned.
Request Body required
Possible values: [Initialized, Started, InProgress, Submitted, Completed]
How far the user has got with the activity.
Possible values: [FullyGraded, Pending, PendingManual, Failed, NotReady]
How far the tool has got with grading it.
Optional — a score may report progress without a grade.
Required whenever scoreGiven is present.
- 200
- 400
- 401
- 403
Score accepted. The exact status is whatever your Service URL returned.
One or more request parameters were missing or malformed.
Schema
- Array [
- ]
details object
errors object[]
One entry per field that failed validation.
{
"status": 400,
"error": "Bad Request",
"details": {
"errors": [
{
"field": "clientId",
"message": "Missing 'clientId' parameter."
}
]
}
}
The Authorization header was missing, malformed, or carried the wrong key.
Schema
details object
Context for the failure. Always carries a message code; the other keys depend on what went wrong.
Context for the failure. Always carries a message code; the other keys depend on what went wrong.
{
"status": 403,
"error": "Forbidden",
"details": {
"message": "INACTIVE_SERVICE",
"description": "string"
}
}
{
"status": 401,
"error": "Unauthorized",
"details": {
"message": "INVALID_BEARER_AUTHORIZATION_HEADER",
"description": "Invalid API Key for account."
}
}
The LTI® service this endpoint depends on is not enabled on your account.
Schema
details object
Context for the failure. Always carries a message code; the other keys depend on what went wrong.
Context for the failure. Always carries a message code; the other keys depend on what went wrong.
{
"status": 403,
"error": "Forbidden",
"details": {
"message": "INACTIVE_SERVICE",
"description": "string"
}
}
{
"status": 403,
"error": "Forbidden",
"details": {
"message": "INACTIVE_SERVICE",
"service": "Deep Linking"
}
}
