Authentication
Colossyan's API is using Bearer Authentication. This means, that every request has to be authenticated by sending the token in the Authorization
header pre-pended by the text Bearer
. See the example below:
const response = await fetch(`${api}/video-generation-jobs`, {
method: "POST",
headers: {
Authorization: `Bearer ${token}`, // Authentication
"Content-Type": "application/json",
},
body: JSON.stringify(job),
});
You can create or find your existing tokens at the bottom of the Workspace details tab in the Settings page.

Last updated
Was this helpful?