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 HubPro
Sales HubSales HubGratuit
Service HubService HubGratuit
Content HubContent HubStarter

Portées requises

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.

Response

201
application/json

successful operation

Response object for batch operations on blog authors.