Media Share API
  1. Authentication
Media Share API
  • Authentication
    • Create new user account
      POST
    • Login to existing account
      POST
    • Initiate Google OAuth for YouTube
      GET
    • Initiate Facebook OAuth
      GET
    • Get connected social accounts
      GET
  • Posts
    • Create and publish a post
      POST
    • Get user's posts
      GET
    • Get post details
      GET
    • Update post
      PATCH
    • Delete post
      DELETE
  • Assets
    • Upload media asset
      POST
    • Get user's assets
      GET
    • Delete asset
      DELETE
  • Plans
    • Get available subscription plans
      GET
  • Subscriptions
    • Upgrade subscription plan
      POST
    • Get subscription status
      GET
  • Services
    • Get service status
      GET
    • Toggle service on/off (admin only)
      POST
  • Queue
    • Get queue statistics
      GET
  • Schemas
    • Error
    • User
    • Subscription
    • Plan
    • Post
    • PlatformPost
    • Media
    • Asset
    • SocialAccount
  1. Authentication

Create new user account

POST
https://api.mediashare.com/api/auth/signup

Request

Authorization
API Key
Add parameter in header
X-API-Key
Example:
X-API-Key: ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢201
application/json
User created successfully
Body

🟠400
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mediashare.com/api/auth/signup' \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "user@example.com",
    "password": "string"
}'
Response Response Example
201 - Example 1
{
    "message": "string",
    "user": {
        "_id": "string",
        "email": "string",
        "apiKey": "string",
        "subscription": {
            "plan": "free",
            "status": "active",
            "creditsRemaining": 0,
            "creditsPerMonth": 0,
            "startDate": "2019-08-24T14:15:22Z",
            "endDate": "2019-08-24T14:15:22Z"
        },
        "createdAt": "2019-08-24T14:15:22Z"
    }
}
Modified at 2025-12-14 16:25:30
Next
Login to existing account
Built with