Zum Hauptinhalt springen
POST
/
cms
/
v3
/
blogs
/
authors
/
batch
/
create
Einen Batch mit Blogautoren erstellen
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"
}
Unterstützte Produkte
Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing HubProfessional
Sales HubSales HubKostenlos
Service HubService HubKostenlos
Content HubContent HubStarter

Erforderliche Bereiche

Diese API erfordert einen der folgenden Bereiche:
  • 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

Die einzugebenden Blogautoren.

Response

successful operation

Response object for batch operations on blog authors.

completedAt
string<date-time>
required

Abschlusszeit des Batch-Vorgangs.

startedAt
string<date-time>
required

Startzeit des Batch-Vorgangs.

results
object[]
required

Ergebnisse des Batch-Vorgangs.

status
enum<string>
required

Status des Batch-Vorgangs.

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

Zeit der Anfrage eines Batch-Vorgangs.

Links verknüpft mit dem Batch-Vorgang.

I