OnlySocial
    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 a post
        • Create a post
        • Delete a post
        • Delete multiple post
        • Schedule a post
        • Add a post to Queue
        • Update a post

    🐶 OnlySocial API Walk through

    Authentication#

    API endpoints are protected, and therefore require that you authenticate using an access token.

    Generate a token#

    1.
    Navigate to your OnlySocial dashboard.
    2.
    Click on Access Tokens from user menu.
    3.
    Click on Create.
    4.
    Give it a name, then click on Create.
    5.
    Copy your token.

    Screenshots
    image.png
    image.png

    image.png

    image.png



    Using Your Token#

    You can authenticate by adding an Authorization header to all your HTTP calls. The Authorization header is formatted as such:
    Authorization: Bearer <token> (replace <token> with your token previously generated).
    The url for API endpoints within OnlySocial is as follows:
    https://app.onlysocial.io/os/api/*
    Example:
    Modified at 2024-06-29 16:02:03
    Next
    List Accounts
    Built with