OnlySocial
  1. Posts
OnlySocial
  • 🐶 OnlySocial API Walk through
  • Only Social
    • Accounts
      • List Accounts
      • Get an account
    • Media
      • List media files
      • Get a media file
      • Upload a media file
      • Delete a media file
    • Tags
      • List Tags
      • Get a tag
      • Create a tag
      • Delete a tag
      • Update a tag
    • Posts
      • List posts
        GET
      • Get a post
        GET
      • Create a post
        POST
      • Delete a post
        DELETE
      • Delete multiple post
        DELETE
      • Schedule a post
        POST
      • Add a post to Queue
        POST
      • Update a post
        PUT
  1. Posts

Schedule a post

POST
https://app.onlysocial.io/os/api/{workspaceUuid}/posts/schedule/{postUuid}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
workspaceUuid
string 
required
Example:
<workspaceUuid>
postUuid
string 
required
Example:
{postUuid}
Body Params application/json
postNow
boolean 
required
Example
{
  "postNow": true
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://app.onlysocial.io/os/api/<workspaceUuid>/posts/schedule/{postUuid}' \
--header 'Content-Type: application/json' \
--data-raw '{
  "postNow": true
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{
  "success": true,
  "scheduled_at": "2024-05-02 08:49:15",
}
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🟠422Parameter Error
Modified at 2024-06-28 15:43:31
Previous
Delete multiple post
Next
Add a post to Queue
Built with