---
title: "Blog Posts by REST Call: WordPress Post API"
description: "Publish blog posts with a featured image, categories, tags and an excerpt with the AdaptlyPost WordPress post API, to self-hosted sites, now or scheduled."
url: "https://adaptlypost.com/usages/wordpress-post-api"
---

# Publish Blog Posts to Your Site With One WordPress Post API Call

Send one POST /social-posts request to the AdaptlyPost WordPress post API and it publishes a blog post with its featured image, categories and tags to your self-hosted WordPress site.

[Start Your 7-Day Free Trial](https://adaptlypost.com/signup)[See How It Works](#features)

adaptlypost.com/posted

PostedView all your published posts2 posts

![](https://adaptlypost.com/_next/static/media/kawaguchiko.1p6qq6_czszrf.jpg-aa5407f0-760f-4afd-8078-6ed07435a4ea)

Firing log: twelve hours at cone 10 and what came out of the kiln.

Platforms

PublishedThu, Dec 3, 7:00 AM

Platforms

PublishedThu, Nov 26, 7:00 AM

Platforms

{

"contentType": "IMAGE",

"accountIds": \["wp\_8n6"\],

"mediaUrls": \[

"https://kawa.co/kiln.jpg"

 \],

"wordpressConfigs": \[{

"connectionId": "wp\_8n6",

"status": "PUBLISH"

 }\],

"timezone": "Europe/London"

}

Send

"1842"PUBLISHED

Posts

### Set Post Options in wordpressConfigs

Give the post a title and an excerpt, file it under up to 50 categories with up to 50 tags, and publish it, leave a draft or send it for review.

Networks

### One Call, 14 Networks

Add LinkedIn, Tumblr, Pinterest or any other connected account to the same request, each with its own settings.

Categories

### List Your Site's Categories

Read every category's id, name and parent, then pass the ids in categoryIds.

Results

### Get the WordPress Post Id

GET /social-posts/:id/results returns the post id WordPress gave the article, next to every other network's result.

WordPressPUBLISHED"platformPostId": "1842"LinkedInPUBLISHED"platformPostId": "urn:li:share:7271904"

1. Step 1  
### Create an API Key  
Open API & AI Agents in your dashboard and create a key. It starts with adaptly\_ and goes in the Authorization header as a Bearer token.
2. Your WordPress sites are connected  
Step 2  
### Connect Your Site  
Enter your site address in Connectors and approve AdaptlyPost in your WordPress admin. WordPress creates an application password for it.
3. Step 3  
### Send POST /social-posts  
Send the text, the media URLs and wordpressConfigs. AdaptlyPost answers 201 with a postId and publishes now or at scheduledAt.

### Creator

Perfect for individuals and solopreneurs

$19012345678901234567890123456789012345678901234567890123456789

/month

[Start Free TrialStart Your 7-Day Free Trial](https://adaptlypost.com/signup)

* 30 connected social accounts
* Team collaboration
* 1 workspace
* 150 AI credits/month
* AI Image Studio

### Pro

Most Popular

For professionals and growing teams

$39012345678901234567890123456789012345678901234567890123456789

/month

[Start Free TrialStart Your 7-Day Free Trial](https://adaptlypost.com/signup)

* 60 connected social accounts
* 3 team members
* 3 workspaces
* 400 AI credits/month
* AI Image Studio

### Enterprise

For agencies and enterprises ready to scale

$89012345678901234567890123456789012345678901234567890123456789

/month

[Start Free TrialStart Your 7-Day Free Trial](https://adaptlypost.com/signup)

* 90 connected social accounts
* 10 team members
* 10 workspaces
* 1,000 AI credits/month
* AI Image Studio

### Every plan includes

* Unlimited scheduled posts
* AI Captions
* Image, video & carousel posts

Works with

### Custom

Custom limits, white-label and priority support

* Unlimited social accounts
* Unlimited team members
* Unlimited workspaces
* Unlimited AI credits
* AI Image Studio

Want to see the full feature comparison? [View pricing page](https://adaptlypost.com/pricing)

### 

You publish a WordPress post with the AdaptlyPost API by sending POST /social-posts with a Bearer key, the text, any media URLs and the site's account id. AdaptlyPost creates the post on your site and returns a postId.

### 

The AdaptlyPost WordPress post API works with self-hosted WordPress sites running version 5.6 or later over HTTPS. Each site counts as one account.

### 

AdaptlyPost turns the post text into the body of the article, up to 100,000 characters. Blank lines start new paragraphs, and bare links become clickable.

### 

A WordPress post takes up to 20 media items: images up to 20 MB and video up to 500 MB. The first image becomes the featured image, and the other images or the video follow the text.

### 

wordpressConfigs takes a title of up to 300 characters, an excerpt, up to 50 categoryIds and up to 50 tags. Without a title, AdaptlyPost uses the first line of the text, cut to 100 characters.

### 

wordpressConfigs.status takes PUBLISH, DRAFT or PENDING. DRAFT leaves a draft to finish in WordPress, and PENDING submits the post for review.

### 

AdaptlyPost connects through a WordPress application password, never your login password. Approve AdaptlyPost in your WordPress admin, or paste an application password from Users, Profile.

### 

The AdaptlyPost API comes with every plan: Creator at $19 a month, Pro at $39 and Enterprise at $89, each with a 7-day free trial.

Need every field and response? [Read the API docs](https://adaptlypost.com/docs/introduction) Still have questions? Contact support [contact@adaptlypost.com](mailto:contact@adaptlypost.com)

## Publish Your First Blog Post Over the API

Create a key, connect your site and send your first request today. Try any plan free for 7 days.

[Start Your 7-Day Free Trial](https://adaptlypost.com/signup)[Compare Plans & Features](https://adaptlypost.com/pricing)

adaptlypost.com/analytics

Top Performing PostsLast 7 days

PostViewsLikes

Product launch12.4K1.9K

Behind the scenes9.8K2.3K

Weekly tips6.1K740

9:41

Tuesday, November 17

9:41

InstagramnowYour reel is getting more views than usual.
