---
title: "Create Social Auto Poster Account"
method: POST
path: "/admin/plugins/social-auto-poster/accounts"
tags: ["admin-social-auto-poster"]
---

# Create Social Auto Poster Account

`POST /admin/plugins/social-auto-poster/accounts`

## Request

- Base URL: `https://api.thaiprops.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thaiprops.com/admin/plugins/social-auto-poster/accounts`
- Auth: none declared

## Request body

- SocialAutoPosterAccountCreatePayload
  - `provider` 'facebook' | 'twitter' | 'linkedin' | 'instagram' | 'telegram' | 'pinterest', required
  - `account_name` string, required
  - `account_label` string, nullable
  - `access_token` string, required
  - `refresh_token` string, nullable
  - `provider_account_id` string, nullable
  - `raw_config` object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api.md) · [All operations](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/revisions/acaced1e12a2?raw)
