Skip to main content
GET
/
awards
curl -X GET https://api.marsai.com/awards \
  -H "Authorization: Bearer YOUR_TOKEN"
[
  {
    "id_award": 1,
    "award_name": "Best Picture",
    "id_movie": 5,
    "createdAt": "2026-03-01T12:00:00Z",
    "updatedAt": "2026-03-01T12:00:00Z"
  },
  {
    "id_award": 2,
    "award_name": "Best Director",
    "id_movie": 7,
    "createdAt": "2026-03-02T14:30:00Z",
    "updatedAt": "2026-03-02T14:30:00Z"
  }
]
This endpoint requires ADMIN authentication.
Retrieves all awards in the system.

Response

Returns an array of award objects:
id_award
integer
Unique identifier for the award
award_name
string
Name of the award (max 100 characters)
id_movie
integer
ID of the movie that received this award
createdAt
string
Timestamp when the award was created
updatedAt
string
Timestamp when the award was last updated
curl -X GET https://api.marsai.com/awards \
  -H "Authorization: Bearer YOUR_TOKEN"
[
  {
    "id_award": 1,
    "award_name": "Best Picture",
    "id_movie": 5,
    "createdAt": "2026-03-01T12:00:00Z",
    "updatedAt": "2026-03-01T12:00:00Z"
  },
  {
    "id_award": 2,
    "award_name": "Best Director",
    "id_movie": 7,
    "createdAt": "2026-03-02T14:30:00Z",
    "updatedAt": "2026-03-02T14:30:00Z"
  }
]