Skip to main content
POST
/
automation
/
v4
/
sequences
/
enrollments
Inscribir un contacto en una secuencia
curl --request POST \
  --url https://api.hubapi.com/automation/v4/sequences/enrollments \
  --header 'Content-Type: application/json' \
  --header 'private-app: <api-key>' \
  --data '{
  "contactId": "<string>",
  "senderEmail": "<string>",
  "sequenceId": "<string>",
  "senderAliasAddress": "<string>"
}'
{
  "id": "<string>",
  "toEmail": "<string>",
  "enrolledAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Productos compatibles

Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing Hub -Gratuito
Sales HubSales Hub -Pro
Service HubService Hub -Pro
Content HubContent Hub -Gratuito
Esta API requiere uno de los siguientes ámbitos:
automation.sequences.enrollments.write

Authorizations

private-app
string
header
required

Query Parameters

userId
string
required

Body

application/json
contactId
string
required
senderEmail
string
required
sequenceId
string
required
senderAliasAddress
string

Response

successful operation

id
string
required
toEmail
string
required
enrolledAt
string<date-time>
required
updatedAt
string<date-time>
required