{
"message": "Invalid input (details will vary based on the error)",
"correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
"category": "VALIDATION_ERROR",
"links": {
"knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
}
}
Contracts
Read
Read an Object identified by {contractId}. {contractId} refers to the internal object ID by default, or optionally any unique property value as specified by the idProperty query param. Control what is returned via the properties query param.
GET
/
crm
/
v3
/
objects
/
contracts
/
{contractId}
Read
curl --request GET \ --url https://api.hubapi.com/crm/v3/objects/contracts/{contractId}
{
"message": "Invalid input (details will vary based on the error)",
"correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
"category": "VALIDATION_ERROR",
"links": {
"knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
}
}
Scope requirements
Path Parameters
contractId
string
required
Pattern: .+
Query Parameters
archived
boolean
default:false
Whether to return only results that have been archived.
associations
string[]
A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.
idProperty
string
The name of a property whose values are unique for this object type
properties
string[]
A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.
propertiesWithHistory
string[]
A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored.
Response
successful operation
Represents a CRM object along with its properties, timestamps, and a set of associated object IDs grouped by association type.
archived
boolean
required
Whether the object is archived.
createdAt
string<date-time>
required
The timestamp when the object was created, in ISO 8601 format.
id
string
required
The unique ID of the object.
properties
object
required
Key value pairs representing the properties of the object.
Show child attributes
updatedAt
string<date-time>
required
The timestamp when the object was last updated, in ISO 8601 format.
archivedAt
string<date-time>
The timestamp when the object was archived, in ISO 8601 format.
associations
object
A map of associated object types to their associated IDs.
Show child attributes
objectWriteTraceId
string
An identifier used for tracing the creation or update request of the object.
propertiesWithHistory
object
Key-value pairs representing the properties of the object along with their history.
Show child attributes
url
string
The URL link to access this object.
warnings
object[]
Show child attributes
Last modified on August 10, 2026
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.