Saltar al contenido principal
POST
/
cms
/
v3
/
blogs
/
authors
/
batch
/
create
Crear un lote de autores de blog
curl --request POST \
  --url https://api.hubapi.com/cms/v3/blogs/authors/batch/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inputs": [
    {
      "avatar": "<string>",
      "bio": "<string>",
      "created": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z",
      "displayName": "<string>",
      "email": "<string>",
      "facebook": "<string>",
      "fullName": "<string>",
      "id": "<string>",
      "language": "af",
      "linkedin": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "translatedFromId": 123,
      "twitter": "<string>",
      "updated": "2023-11-07T05:31:56Z",
      "website": "<string>"
    }
  ]
}
'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "results": [
    {
      "avatar": "<string>",
      "bio": "<string>",
      "created": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z",
      "displayName": "<string>",
      "email": "<string>",
      "facebook": "<string>",
      "fullName": "<string>",
      "id": "<string>",
      "language": "af",
      "linkedin": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "translatedFromId": 123,
      "twitter": "<string>",
      "updated": "2023-11-07T05:31:56Z",
      "website": "<string>"
    }
  ],
  "startedAt": "2023-11-07T05:31:56Z",
  "status": "CANCELED",
  "links": {},
  "requestedAt": "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 -Gratuito
Service HubService Hub -Gratuito
Content HubContent Hub -Gratuito

Authorizations

Authorization
string
header
required

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

Body

application/json

The JSON array of new Blog Authors to create.

Wrapper for providing an array of blog authors as inputs.

inputs
object[]
required

Autores de blogs que se introducirán.

Response

successful operation

Response object for batch operations on blog authors.

completedAt
string<date-time>
required

Hora de finalización de la operación por lotes.

results
object[]
required

Resultados de la operación por lotes.

startedAt
string<date-time>
required

Hora de inicio de la operación por lotes.

status
enum<string>
required

Estado de la operación por lotes.

Opciones disponibles:
CANCELED,
COMPLETE,
PENDING,
PROCESSING

Enlaces asociados a la operación por lotes.

requestedAt
string<date-time>

Hora de la solicitud de la operación por lotes.