Skip to Content
HomeLink Hub
Legal Verification

getAssignmentById

GET
/api/v1/legal/assignments/{assignmentId}

Access: Bearer token required.

Authorization

bearerAuth
headerAuthorizationBearer <JWT>

Access token returned by sign-in. Send it as Authorization: Bearer <token>.

Path Parameters

assignmentId*string

Response Body

  • No bearer token was sent.
  • The access token has expired. Refresh it and retry.
  • The token is malformed or signed with another secret.
application/json
  1. response

The envelope every error uses.

status*integer

HTTP status code, repeated in the body.

success*boolean

Always false for errors.

message*string

Human-readable reason. Safe to show to the user.

data*unknown

Always null for errors.

code?string

Machine-readable error code, present on some errors.

errorData?

Extra details, present on some errors.

Example Request
curl -X GET 'http://localhost:4000/api/v1/legal/assignments/string'
Example Response
{  "status": 401,  "success": false,  "message": "Authentication required. Please provide a valid token.",  "data": null}