Skip to main content

Create Project

POST 

https://platform.nativeframe.com/dashboard/api/v1/organizations/:organizationSlug/projects

Generate JWT

Request

Path Parameters

    organizationSlug stringrequired

Body

    namestringrequired
    slugstring

    configuration

    object

    required

    privateViewingboolean
    cdnboolean
    recordingboolean
    descriptionstring
    preferredAuthstring

    Possible values: [jwtAuth, webhookAuth, public]

Responses

Returns the created project information

Schema

    project

    object

    idstringrequired
    namestringrequired
    slugstringrequired
    isLegacyProjectPrivateCloudboolean
    organizationIdstringrequired

    configuration

    object

    required

    privateViewingboolean
    cdnboolean
    recordingboolean
    descriptionstring
    configuredbooleanrequired

    projectConfiguration

    object

    preferredAuthstringrequired
    projectIdstringrequired
    property name*any

Authorization: http

name: JWTtype: httpscheme: bearerbearerFormat: JWTdescription: Bearer Token authentication for applications
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://platform.nativeframe.com/dashboard/api/v1/organizations/:organizationSlug/projects");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent("{\n \"name\": \"string\",\n \"slug\": \"string\",\n \"configuration\": {\n \"privateViewing\": true,\n \"cdn\": true,\n \"recording\": true\n },\n \"description\": \"string\",\n \"preferredAuth\": \"jwtAuth\"\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://platform.nativeframe.com
Auth
Parameters
— pathrequired
Body
{
  "name": "string",
  "slug": "string",
  "configuration": {
    "privateViewing": true,
    "cdn": true,
    "recording": true
  },
  "description": "string",
  "preferredAuth": "jwtAuth"
}
ResponseClear

Click the Send API Request button above and see the response here!