Errors

Code Description
401 Unauthorized
500 Internal Server Error
422 Missing parameters

Examples

POST /api/v2/projects
{
  "title": "Sample Project",
  "description": "Sample project from API V2",
  "category": "Sample",
  "tags": [
    "sample",
    "test"
  ]
}
200
{
  "project": {
    "id": "Ko2wT3wBW4fR4Me2r30C",
    "external_id": null,
    "project_id": null,
    "owner": "support@mediapocket.io",
    "description": "Sample project from API V2",
    "title": "Sample Project",
    "category": "Sample",
    "tags": [
      "sample",
      "test"
    ],
    "media_type": "project",
    "modification_date": "2021-10-05T09:02:32Z",
    "created_date": "2021-10-05T09:02:31Z",
    "status": "open",
    "deleted": false
  }
}

Params

Param name Description
title
required

Title

Validations:

  • Must be a String

description
optional

Description

Validations:

  • Must be a String

category
optional

Category

Validations:

  • Must be a String

tags
optional

Tags

Validations:

  • Must be an array of String

Headers

Header name Description
Content-Type
required
application/json
X-API-KEY
required
YOUR_API_KEY