Zum Hauptinhalt springen
POST
/
cms
/
v3
/
blogs
/
authors
/
batch
/
create
Créer un lot d'auteurs 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": [
    {
      "website": "<string>",
      "displayName": "<string>",
      "created": "2023-11-07T05:31:56Z",
      "facebook": "<string>",
      "fullName": "<string>",
      "bio": "<string>",
      "language": "af",
      "linkedin": "<string>",
      "avatar": "<string>",
      "translatedFromId": 123,
      "twitter": "<string>",
      "deletedAt": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "id": "<string>",
      "updated": "2023-11-07T05:31:56Z",
      "email": "<string>",
      "slug": "<string>"
    }
  ]
}'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "requestedAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "links": {},
  "results": [
    {
      "website": "<string>",
      "displayName": "<string>",
      "created": "2023-11-07T05:31:56Z",
      "facebook": "<string>",
      "fullName": "<string>",
      "bio": "<string>",
      "language": "af",
      "linkedin": "<string>",
      "avatar": "<string>",
      "translatedFromId": 123,
      "twitter": "<string>",
      "deletedAt": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "id": "<string>",
      "updated": "2023-11-07T05:31:56Z",
      "email": "<string>",
      "slug": "<string>"
    }
  ],
  "status": "PENDING"
}

Produits pris en charge

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

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

Auteurs de blog à saisir.

Response

successful operation

Response object for batch operations on blog authors.

completedAt
string<date-time>
required

Heure de fin de l'opération par lots.

startedAt
string<date-time>
required

Heure de début de l'opération par lot.

results
object[]
required

Résultats de l'opération par lot.

status
enum<string>
required

Statut de l'opération par lot.

Available options:
PENDING,
PROCESSING,
CANCELED,
COMPLETE
requestedAt
string<date-time>

Heure de la demande d'opération par lot.

Liens associés à l'opération par lot.

I