Download the PHP package postboost/php-sdk without Composer
On this page you can find all versions of the php package postboost/php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download postboost/php-sdk
More information about postboost/php-sdk
Files in postboost/php-sdk
Download postboost/php-sdk
More information about postboost/php-sdk
Files in postboost/php-sdk
Vendor postboost
Package php-sdk
Short Description The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace's plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request's `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account's daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
License unlicense
Homepage https://openapi-generator.tech
Package php-sdk
Short Description The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace's plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request's `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account's daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
License unlicense
Homepage https://openapi-generator.tech
Please rate this library. Is it a good library?
Informations about the package php-sdk
PostBoost PHP SDK
Official PHP client for the PostBoost API.
Install
| Packagist | packagist.org/packages/postboost/php-sdk |
| GitHub | postboost-co/postboost-php |
| Docs | postboost.co/docs/api |
| Version | v1.6.0 |
Quick start
API Endpoints
All URIs are relative to https://postboost.co/app/api
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AIApi | blogToSocial | POST /{workspaceUuid}/ai/blog-to-social | Generate social media captions from a blog post |
| AIApi | imageAltText | POST /{workspaceUuid}/ai/image-alt-text | Generate alt text for a media image using AI |
| AIApi | imageEdit | POST /{workspaceUuid}/ai/image-edit | Edit an existing media image using AI |
| AIApi | imageGenerate | POST /{workspaceUuid}/ai/image-generate | Generate social media images from a caption |
| AIApi | imagePrompt | POST /{workspaceUuid}/ai/image-prompt | Build an optimized image prompt from a social media caption |
| AIApi | imageVariations | POST /{workspaceUuid}/ai/image-variations | Generate variations of an existing media image |
| AccountsApi | getAccount | GET /{workspaceUuid}/accounts/{accountUuid} | Get account |
| AccountsApi | listAccounts | GET /{workspaceUuid}/accounts | List accounts |
| MediaApi | abortChunkedUpload | DELETE /{workspaceUuid}/media/chunked/{uploadUuid} | Abort chunked upload |
| MediaApi | completeChunkedUpload | POST /{workspaceUuid}/media/chunked/{uploadUuid}/complete | Complete chunked upload |
| MediaApi | deleteMediaBulk | DELETE /{workspaceUuid}/media | Delete media (bulk) |
| MediaApi | getMedia | GET /{workspaceUuid}/media/{mediaUuid} | Get media |
| MediaApi | getRemoteUploadStatus | GET /{workspaceUuid}/media/remote/{downloadId}/status | Get remote upload status |
| MediaApi | initiateChunkedUpload | POST /{workspaceUuid}/media/chunked/initiate | Initiate chunked upload |
| MediaApi | initiateRemoteUpload | POST /{workspaceUuid}/media/remote/initiate | Initiate remote upload |
| MediaApi | listMedia | GET /{workspaceUuid}/media | List media |
| MediaApi | updateMedia | PUT /{workspaceUuid}/media/{mediaUuid} | Update media |
| MediaApi | uploadChunk | POST /{workspaceUuid}/media/chunked/{uploadUuid}/upload | Upload a chunk |
| MediaApi | uploadMedia | POST /{workspaceUuid}/media | Upload media (binary) |
| PostsApi | addPostToQueue | POST /{workspaceUuid}/posts/add-to-queue/{postUuid} | Add post to queue |
| PostsApi | approvePost | POST /{workspaceUuid}/posts/approve/{postUuid} | Approve post |
| PostsApi | createPost | POST /{workspaceUuid}/posts | Create post |
| PostsApi | deletePost | DELETE /{workspaceUuid}/posts/{postUuid} | Delete post |
| PostsApi | deletePostsBulk | DELETE /{workspaceUuid}/posts | Delete posts (bulk) |
| PostsApi | getPost | GET /{workspaceUuid}/posts/{postUuid} | Get post |
| PostsApi | listPosts | GET /{workspaceUuid}/posts | List posts |
| PostsApi | schedulePost | POST /{workspaceUuid}/posts/schedule/{postUuid} | Schedule post |
| PostsApi | updatePost | PUT /{workspaceUuid}/posts/{postUuid} | Update post |
| ReceiptsApi | createReceipt | POST /panel/receipts | Create receipt |
| ReceiptsApi | deleteReceipt | DELETE /panel/receipts/{receiptUuid} | Delete receipt |
| ReceiptsApi | deleteReceiptsBulk | DELETE /panel/receipts | Delete receipts (bulk) |
| ReceiptsApi | getReceipt | GET /panel/receipts/{receiptUuid} | Get receipt |
| ReceiptsApi | listReceipts | GET /panel/receipts | List receipts |
| ReceiptsApi | updateReceipt | PUT /panel/receipts/{receiptUuid} | Update receipt |
| SubscriptionsApi | addGenericSubscription | POST /panel/workspaces/{workspaceUuid}/subscription/generic | Add generic subscription |
| SubscriptionsApi | cancelSubscription | POST /panel/workspaces/{workspaceUuid}/subscription/cancel | Cancel subscription |
| SubscriptionsApi | changeSubscriptionPlan | PUT /panel/workspaces/{workspaceUuid}/subscription/change-plan | Change subscription plan |
| SubscriptionsApi | checkoutSubscription | POST /panel/workspaces/{workspaceUuid}/subscription/new | New subscription checkout |
| SubscriptionsApi | createSubscription | POST /panel/workspaces/{workspaceUuid}/subscription | Create subscription |
| SubscriptionsApi | deleteSubscription | DELETE /panel/workspaces/{workspaceUuid}/subscription | Delete subscription |
| SubscriptionsApi | getSubscription | GET /panel/workspaces/{workspaceUuid}/subscription | Get subscription |
| SubscriptionsApi | removeGenericSubscription | DELETE /panel/workspaces/{workspaceUuid}/subscription/generic | Remove generic subscription |
| SubscriptionsApi | resumeSubscription | POST /panel/workspaces/{workspaceUuid}/subscription/resume | Resume subscription |
| SubscriptionsApi | updateSubscription | PUT /panel/workspaces/{workspaceUuid}/subscription | Update subscription |
| TagsApi | createTag | POST /{workspaceUuid}/tags | Create tag |
| TagsApi | deleteTag | DELETE /{workspaceUuid}/tags/{tagUuid} | Delete tag |
| TagsApi | getTag | GET /{workspaceUuid}/tags/{tagUuid} | Get tag |
| TagsApi | listTags | GET /{workspaceUuid}/tags | List tags |
| TagsApi | updateTag | PUT /{workspaceUuid}/tags/{tagUuid} | Update tag |
| UsersApi | createUser | POST /panel/users | Create user |
| UsersApi | deleteUser | DELETE /panel/users/{userId} | Delete user |
| UsersApi | deleteUsersBulk | DELETE /panel/users | Delete users (bulk) |
| UsersApi | getUser | GET /panel/users/{userId} | Get user |
| UsersApi | listUsers | GET /panel/users | List users |
| UsersApi | updateUser | PUT /panel/users/{userId} | Update user |
| WorkspacesApi | addUserToWorkspace | POST /panel/workspaces/{workspaceUuid}/users | Add user to workspace |
| WorkspacesApi | createWorkspace | POST /panel/workspaces | Create workspace |
| WorkspacesApi | deleteWorkspace | DELETE /panel/workspaces/{workspaceUuid} | Delete workspace |
| WorkspacesApi | deleteWorkspacesBulk | DELETE /panel/workspaces | Delete workspaces (bulk) |
| WorkspacesApi | getWorkspace | GET /panel/workspaces/{workspaceUuid} | Get workspace |
| WorkspacesApi | listWorkspaces | GET /panel/workspaces | List workspaces |
| WorkspacesApi | removeUserFromWorkspace | DELETE /panel/workspaces/{workspaceUuid}/users | Remove user from workspace |
| WorkspacesApi | updateWorkspace | PUT /panel/workspaces/{workspaceUuid} | Update workspace |
| WorkspacesApi | updateWorkspaceUser | PUT /panel/workspaces/{workspaceUuid}/users | Update user role in workspace |
All versions of php-sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4 || ^8.0
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
The package postboost/php-sdk contains the following files
Loading the files please wait ...