Get unity

Retrieves a single unit of measure by its ID.

Path Parameters

ParameterTypeRequiredDescription
idintegerYesUnity unique identifier

Response Fields

FieldTypeDescription
idintegerUnity unique identifier
namestringUnit name (e.g., "Unit", "Hour", "Day")
byDefaultbooleanWhether this is the default unit
createdAtdatetimeCreation timestamp
updatedAtdatetimeLast update timestamp

Response

  • 200 OK: Returns the unity details
  • 401 Unauthorized: Invalid or missing API key
  • 404 Not Found: Unity not found
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Responses
200

Successful response

401

Unauthorized

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!