List the creations of a project
curl --request GET \
--url https://api.magnific.com/v2/projects/{project_reference}/creations \
--header 'x-magnific-api-key: <api-key>'import requests
url = "https://api.magnific.com/v2/projects/{project_reference}/creations"
headers = {"x-magnific-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-magnific-api-key': '<api-key>'}};
fetch('https://api.magnific.com/v2/projects/{project_reference}/creations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.magnific.com/v2/projects/{project_reference}/creations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-magnific-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.magnific.com/v2/projects/{project_reference}/creations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-magnific-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.magnific.com/v2/projects/{project_reference}/creations")
.header("x-magnific-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.magnific.com/v2/projects/{project_reference}/creations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-magnific-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"creation_id": "ab12CdE",
"status": "queued",
"kind": "video",
"url": "<string>",
"thumbnail_url": "<string>",
"preview_url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"title": "<string>",
"folder_reference": "<string>",
"tags": [
"<string>"
],
"review_status": "<string>",
"comments_count": 123,
"tiles": [
"<string>"
]
}
],
"meta": {
"pagination": {
"has_more": true,
"next_cursor": "<string>"
}
}
}{
"code": "validation_failed",
"message": "<string>",
"details": {
"errors": {},
"violations": [
{
"model": "<string>",
"field": "<string>",
"message": "<string>",
"allowed": [
"<string>"
],
"max": 123
}
]
},
"request_id": "<string>"
}{
"code": "validation_failed",
"message": "<string>",
"details": {
"errors": {},
"violations": [
{
"model": "<string>",
"field": "<string>",
"message": "<string>",
"allowed": [
"<string>"
],
"max": 123
}
],
"required_scope": "<string>"
},
"request_id": "<string>"
}{
"code": "validation_failed",
"message": "<string>",
"details": {
"errors": {},
"violations": [
{
"model": "<string>",
"field": "<string>",
"message": "<string>",
"allowed": [
"<string>"
],
"max": 123
}
]
},
"request_id": "<string>"
}{
"code": "validation_failed",
"message": "<string>",
"details": {
"errors": {},
"violations": [
{
"model": "<string>",
"field": "<string>",
"message": "<string>",
"allowed": [
"<string>"
],
"max": 123
}
]
},
"request_id": "<string>"
}{
"code": "validation_failed",
"message": "<string>",
"details": {
"errors": {},
"violations": [
{
"model": "<string>",
"field": "<string>",
"message": "<string>",
"allowed": [
"<string>"
],
"max": 123
}
]
},
"request_id": "<string>"
}{
"code": "validation_failed",
"message": "<string>",
"details": {
"errors": {},
"violations": [
{
"model": "<string>",
"field": "<string>",
"message": "<string>",
"allowed": [
"<string>"
],
"max": 123
}
]
},
"request_id": "<string>"
}{
"code": "validation_failed",
"message": "<string>",
"details": {
"errors": {},
"violations": [
{
"model": "<string>",
"field": "<string>",
"message": "<string>",
"allowed": [
"<string>"
],
"max": 123
}
]
},
"request_id": "<string>"
}Projects API
List the creations of a project
Lists the creations filed directly in a project or folder, newest first.
GET
/
v2
/
projects
/
{project_reference}
/
creations
List the creations of a project
curl --request GET \
--url https://api.magnific.com/v2/projects/{project_reference}/creations \
--header 'x-magnific-api-key: <api-key>'import requests
url = "https://api.magnific.com/v2/projects/{project_reference}/creations"
headers = {"x-magnific-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-magnific-api-key': '<api-key>'}};
fetch('https://api.magnific.com/v2/projects/{project_reference}/creations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.magnific.com/v2/projects/{project_reference}/creations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-magnific-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.magnific.com/v2/projects/{project_reference}/creations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-magnific-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.magnific.com/v2/projects/{project_reference}/creations")
.header("x-magnific-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.magnific.com/v2/projects/{project_reference}/creations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-magnific-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"creation_id": "ab12CdE",
"status": "queued",
"kind": "video",
"url": "<string>",
"thumbnail_url": "<string>",
"preview_url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"title": "<string>",
"folder_reference": "<string>",
"tags": [
"<string>"
],
"review_status": "<string>",
"comments_count": 123,
"tiles": [
"<string>"
]
}
],
"meta": {
"pagination": {
"has_more": true,
"next_cursor": "<string>"
}
}
}{
"code": "validation_failed",
"message": "<string>",
"details": {
"errors": {},
"violations": [
{
"model": "<string>",
"field": "<string>",
"message": "<string>",
"allowed": [
"<string>"
],
"max": 123
}
]
},
"request_id": "<string>"
}{
"code": "validation_failed",
"message": "<string>",
"details": {
"errors": {},
"violations": [
{
"model": "<string>",
"field": "<string>",
"message": "<string>",
"allowed": [
"<string>"
],
"max": 123
}
],
"required_scope": "<string>"
},
"request_id": "<string>"
}{
"code": "validation_failed",
"message": "<string>",
"details": {
"errors": {},
"violations": [
{
"model": "<string>",
"field": "<string>",
"message": "<string>",
"allowed": [
"<string>"
],
"max": 123
}
]
},
"request_id": "<string>"
}{
"code": "validation_failed",
"message": "<string>",
"details": {
"errors": {},
"violations": [
{
"model": "<string>",
"field": "<string>",
"message": "<string>",
"allowed": [
"<string>"
],
"max": 123
}
]
},
"request_id": "<string>"
}{
"code": "validation_failed",
"message": "<string>",
"details": {
"errors": {},
"violations": [
{
"model": "<string>",
"field": "<string>",
"message": "<string>",
"allowed": [
"<string>"
],
"max": 123
}
]
},
"request_id": "<string>"
}{
"code": "validation_failed",
"message": "<string>",
"details": {
"errors": {},
"violations": [
{
"model": "<string>",
"field": "<string>",
"message": "<string>",
"allowed": [
"<string>"
],
"max": 123
}
]
},
"request_id": "<string>"
}{
"code": "validation_failed",
"message": "<string>",
"details": {
"errors": {},
"violations": [
{
"model": "<string>",
"field": "<string>",
"message": "<string>",
"allowed": [
"<string>"
],
"max": 123
}
]
},
"request_id": "<string>"
}Authorizations
magnificApiKeybearerAuth
Your Magnific API key. Learn how to obtain an API key
Query Parameters
Was this page helpful?