Zum Hauptinhalt springen
GET
/
crm
/
v3
/
objects
/
postal_mail
/
{postalMailId}
cURL
curl --request GET \
  --url https://api.hubapi.com/crm/v3/objects/postal_mail/{postalMailId} \
  --header 'Authorization: Bearer <token>'
{
  "archived": true,
  "archivedAt": "2023-11-07T05:31:56Z",
  "associations": {},
  "createdAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "objectWriteTraceId": "<string>",
  "properties": {},
  "propertiesWithHistory": {},
  "updatedAt": "2023-11-07T05:31:56Z",
  "url": "<string>"
}

Produits pris en charge

Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing Hub -Gratuit
Sales HubSales Hub -Gratuit
Service HubService Hub -Gratuit
Content HubContent Hub -Gratuit
Cette API requiert l'une des portées suivantes :
crm.objects.contacts.read

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

objectId
string
required
objectType
string
required
postalMailId
string
required

Query Parameters

archived
boolean
default:false
associations
string[]
idProperty
string
properties
string[]
propertiesWithHistory
string[]

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.

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 list defining relationships with other objects.

objectWriteTraceId
string
propertiesWithHistory
object

Key-value pairs representing the properties of the object along with their history.

url
string