{
  "opencollection": "1.0.0",
  "info": {
    "name": "HubSpot Analytics Events Access Tokens Blog Posts API",
    "version": "3.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Blog Posts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Hubspot List All Blog Posts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.hubapi.com/cms/v3/blogs/posts",
            "params": [
              {
                "name": "limit",
                "value": "20",
                "type": "query",
                "description": "Maximum number of results per page"
              },
              {
                "name": "after",
                "value": "example-value",
                "type": "query",
                "description": "Pagination cursor for the next page"
              },
              {
                "name": "sort",
                "value": "example-value",
                "type": "query",
                "description": "Properties to sort by"
              },
              {
                "name": "archived",
                "value": "false",
                "type": "query",
                "description": "Whether to return archived posts"
              },
              {
                "name": "property",
                "value": "example-value",
                "type": "query",
                "description": "Specific property to return"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://app.hubspot.com/oauth/authorize",
              "accessTokenUrl": "https://api.hubapi.com/oauth/v1/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve a paginated list of all blog posts in your HubSpot account. \nUse query parameters to filter, sort, and paginate the results.\n"
        },
        {
          "info": {
            "name": "Hubspot Create a Blog Post",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.hubapi.com/cms/v3/blogs/posts",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://app.hubspot.com/oauth/authorize",
              "accessTokenUrl": "https://api.hubapi.com/oauth/v1/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create a new blog post in your HubSpot account."
        },
        {
          "info": {
            "name": "Hubspot Retrieve a Blog Post",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.hubapi.com/cms/v3/blogs/posts/:objectId",
            "params": [
              {
                "name": "objectId",
                "value": "123456789012",
                "type": "path",
                "description": "The unique identifier of the blog post"
              },
              {
                "name": "archived",
                "value": "false",
                "type": "query",
                "description": "Whether to return archived posts"
              },
              {
                "name": "property",
                "value": "example-value",
                "type": "query",
                "description": "Specific property to return"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://app.hubspot.com/oauth/authorize",
              "accessTokenUrl": "https://api.hubapi.com/oauth/v1/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve a specific blog post by its unique identifier."
        },
        {
          "info": {
            "name": "Hubspot Update a Blog Post",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.hubapi.com/cms/v3/blogs/posts/:objectId",
            "params": [
              {
                "name": "objectId",
                "value": "123456789012",
                "type": "path",
                "description": "The unique identifier of the blog post"
              },
              {
                "name": "archived",
                "value": "false",
                "type": "query",
                "description": "Whether to update archived posts"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://app.hubspot.com/oauth/authorize",
              "accessTokenUrl": "https://api.hubapi.com/oauth/v1/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update an existing blog post. Only the properties included in the \nrequest body will be updated.\n"
        },
        {
          "info": {
            "name": "Hubspot Archive a Blog Post",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.hubapi.com/cms/v3/blogs/posts/:objectId",
            "params": [
              {
                "name": "objectId",
                "value": "123456789012",
                "type": "path",
                "description": "The unique identifier of the blog post"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://app.hubspot.com/oauth/authorize",
              "accessTokenUrl": "https://api.hubapi.com/oauth/v1/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Archive (soft delete) a blog post by its unique identifier."
        }
      ]
    }
  ],
  "bundled": true
}