Example Usage and Result
Hit this URL with a HTTP method of POST https://api.hubapi.com/blogs/v3/blog-authors?hapikey=demo
and including a request body of:
{
"email": "testapi@hubspot.com",
"fullName": "Hub Spot"
}
Returns a response like:
HTTP/1.1 201 Created
{
"portalId": 62515,
"id": 284839243,
"created": 1377856983000,
"updated": 1377856983000,
"deletedAt": 0,
"fullName": "Hub Spot",
"email": "testapi@hubspot.com",
"userId": null,
"username": "testapi@hubspot.com",
"slug": "hub-spot",
"publicUrl": "http://62515.hs-sites.com/blog/author/hub-spot",
"displayName": "Hub Spot",
"googlePlus": "",
"bio": "",
"website": "",
"twitter": "",
"linkedin": "",
"facebook": "",
"avatar": "",
"gravatarUrl": "https://app.hubspot.com/settings/avatar/bb23f3ae97b9698d130c02d2841e86a4",
"twitterUsername": "",
"hasSocialProfiles": false
}
Комментарии
Отправить комментарий