OnlySocial
  1. Tags
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
      • Get a tag
        GET
      • Create a tag
        POST
      • Delete a tag
        DELETE
      • Update a tag
        PUT
    • Posts
      • List posts
      • Get a post
      • Create a post
      • Delete a post
      • Delete multiple post
      • Schedule a post
      • Add a post to Queue
      • Update a post
  1. Tags

Create a tag

POST
https://app.onlysocial.io/os/api/{workspaceUuid}/tags

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>
Body Params multipart/form-data
name
string 
required
Example:
motivation
hex_color
string 
required
Example:
#60a5fa

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 --request POST 'https://app.onlysocial.io/os/api/<workspaceUuid>/tags' \
--form 'name="motivation"' \
--form 'hex_color="#60a5fa"'

Responses

🟢200Success
application/json
Body
object {0}
Example
{
    "id": 3,
    "uuid": "6059e1b3-e102-4be5-951b-82698abd9ee3",
    "name": "Motivation",
    "hex_color": "#000000"
}
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🟠422Parameter Error
Modified at 2024-06-28 13:30:48
Previous
Get a tag
Next
Delete a tag
Built with