curl -X GET "https://api-integration.ollang.com/integration/project?page=1&take=10&orderBy=createdAt&orderDirection=desc&search=video" \
-H "X-Api-Key: <your-api-key>"
const queryParams = new URLSearchParams({
page: "1",
take: "10",
orderBy: "createdAt",
orderDirection: "desc",
search: "project",
});
const response = await fetch(
`https://api-integration.ollang.com/integration/project?${queryParams}`,
{
method: "GET",
headers: {
"X-Api-Key": "<your-api-key>",
},
}
);
const projects = await response.json();
console.log("Projects:", projects);
import requests
params = {
'page': 1,
'take': 10,
'orderBy': 'createdAt',
'orderDirection': 'desc',
'search': 'project'
}
headers = {
'X-Api-Key': '<your-api-key>'
}
response = requests.get(
'https://api-integration.ollang.com/integration/project',
headers=headers,
params=params
)
projects = response.json()
print("Projects:", projects)
$queryParams = http_build_query([
'page' => 1,
'take' => 10,
'orderBy' => 'createdAt',
'orderDirection' => 'desc',
'search' => 'project'
]);
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api-integration.ollang.com/integration/project?' . $queryParams,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => array(
'X-Api-Key: <your-api-key>'
),
));
$response = curl_exec($curl);
$projects = json_decode($response, true);
curl_close($curl);
echo "Projects: " . json_encode($projects);
package main
import (
"encoding/json"
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL := "https://api-integration.ollang.com/integration/project"
params := url.Values{}
params.Add("page", "1")
params.Add("take", "10")
params.Add("orderBy", "createdAt")
params.Add("orderDirection", "desc")
params.Add("search", "project")
fullURL := baseURL + "?" + params.Encode()
req, _ := http.NewRequest("GET", fullURL, nil)
req.Header.Set("X-Api-Key", "<your-api-key>")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
var projects map[string]interface{}
json.Unmarshal(body, &projects)
fmt.Println("Projects:", projects)
}
String baseUrl = "https://api-integration.ollang.com/integration/project";
String queryParams = "?page=1&take=10&orderBy=createdAt&orderDirection=desc&search=project";
HttpResponse<String> response = Unirest.get(baseUrl + queryParams)
.header("X-Api-Key", "<your-api-key>")
.asString();
JSONObject projects = new JSONObject(response.getBody());
System.out.println("Projects: " + projects.toString());
{
"data": [
{
"id": "60b8d6f1e1b9b1d8c6c0d8e1",
"name": "Marketing Video Q4",
"sourceLanguage": "en",
"createdAt": "2024-01-15T10:30:45.511Z",
"folderId": "60b8d6f1e1b9b1d8c6c0d8e2",
"ordersCount": 3
},
{
"id": "60b8d6f1e1b9b1d8c6c0d8e3",
"name": "Product Demo Turkish",
"sourceLanguage": "tr",
"createdAt": "2024-01-14T14:22:33.211Z",
"folderId": "60b8d6f1e1b9b1d8c6c0d8e2",
"ordersCount": 1
},
{
"id": "60b8d6f1e1b9b1d8c6c0d8e4",
"name": "Training Material",
"sourceLanguage": "fr",
"createdAt": "2024-01-13T09:15:22.847Z",
"folderId": "60b8d6f1e1b9b1d8c6c0d8e5"
}
],
"meta": {
"page": 1,
"take": 10,
"itemCount": 25,
"pageCount": 3,
"hasPreviousPage": false,
"hasNextPage": true
}
}
{
"code": -2,
"error": "ValidationError",
"details": [
{
"messages": [
"<rule that failed>"
],
"path": "<field>"
}
]
}
{
"code": -4,
"error": "UnauthorizedException",
"message": "API Key is missing",
"errorData": "UnauthorizedException"
}
{
"error": "Internal Server Error",
"message": "Something went wrong while processing your request. Please try again later."
}
Projects
Retrieve All Projects
Get a paginated list of all projects with optional search and sorting functionality
GET
/
integration
/
project
curl -X GET "https://api-integration.ollang.com/integration/project?page=1&take=10&orderBy=createdAt&orderDirection=desc&search=video" \
-H "X-Api-Key: <your-api-key>"
const queryParams = new URLSearchParams({
page: "1",
take: "10",
orderBy: "createdAt",
orderDirection: "desc",
search: "project",
});
const response = await fetch(
`https://api-integration.ollang.com/integration/project?${queryParams}`,
{
method: "GET",
headers: {
"X-Api-Key": "<your-api-key>",
},
}
);
const projects = await response.json();
console.log("Projects:", projects);
import requests
params = {
'page': 1,
'take': 10,
'orderBy': 'createdAt',
'orderDirection': 'desc',
'search': 'project'
}
headers = {
'X-Api-Key': '<your-api-key>'
}
response = requests.get(
'https://api-integration.ollang.com/integration/project',
headers=headers,
params=params
)
projects = response.json()
print("Projects:", projects)
$queryParams = http_build_query([
'page' => 1,
'take' => 10,
'orderBy' => 'createdAt',
'orderDirection' => 'desc',
'search' => 'project'
]);
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api-integration.ollang.com/integration/project?' . $queryParams,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => array(
'X-Api-Key: <your-api-key>'
),
));
$response = curl_exec($curl);
$projects = json_decode($response, true);
curl_close($curl);
echo "Projects: " . json_encode($projects);
package main
import (
"encoding/json"
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL := "https://api-integration.ollang.com/integration/project"
params := url.Values{}
params.Add("page", "1")
params.Add("take", "10")
params.Add("orderBy", "createdAt")
params.Add("orderDirection", "desc")
params.Add("search", "project")
fullURL := baseURL + "?" + params.Encode()
req, _ := http.NewRequest("GET", fullURL, nil)
req.Header.Set("X-Api-Key", "<your-api-key>")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
var projects map[string]interface{}
json.Unmarshal(body, &projects)
fmt.Println("Projects:", projects)
}
String baseUrl = "https://api-integration.ollang.com/integration/project";
String queryParams = "?page=1&take=10&orderBy=createdAt&orderDirection=desc&search=project";
HttpResponse<String> response = Unirest.get(baseUrl + queryParams)
.header("X-Api-Key", "<your-api-key>")
.asString();
JSONObject projects = new JSONObject(response.getBody());
System.out.println("Projects: " + projects.toString());
{
"data": [
{
"id": "60b8d6f1e1b9b1d8c6c0d8e1",
"name": "Marketing Video Q4",
"sourceLanguage": "en",
"createdAt": "2024-01-15T10:30:45.511Z",
"folderId": "60b8d6f1e1b9b1d8c6c0d8e2",
"ordersCount": 3
},
{
"id": "60b8d6f1e1b9b1d8c6c0d8e3",
"name": "Product Demo Turkish",
"sourceLanguage": "tr",
"createdAt": "2024-01-14T14:22:33.211Z",
"folderId": "60b8d6f1e1b9b1d8c6c0d8e2",
"ordersCount": 1
},
{
"id": "60b8d6f1e1b9b1d8c6c0d8e4",
"name": "Training Material",
"sourceLanguage": "fr",
"createdAt": "2024-01-13T09:15:22.847Z",
"folderId": "60b8d6f1e1b9b1d8c6c0d8e5"
}
],
"meta": {
"page": 1,
"take": 10,
"itemCount": 25,
"pageCount": 3,
"hasPreviousPage": false,
"hasNextPage": true
}
}
{
"code": -2,
"error": "ValidationError",
"details": [
{
"messages": [
"<rule that failed>"
],
"path": "<field>"
}
]
}
{
"code": -4,
"error": "UnauthorizedException",
"message": "API Key is missing",
"errorData": "UnauthorizedException"
}
{
"error": "Internal Server Error",
"message": "Something went wrong while processing your request. Please try again later."
}
Retrieve a paginated list of all projects associated with your account. This endpoint supports various query parameters for pagination, sorting, and searching through your projects.
curl -X GET "https://api-integration.ollang.com/integration/project?page=1&take=10&orderBy=createdAt&orderDirection=desc&search=video" \
-H "X-Api-Key: <your-api-key>"
const queryParams = new URLSearchParams({
page: "1",
take: "10",
orderBy: "createdAt",
orderDirection: "desc",
search: "project",
});
const response = await fetch(
`https://api-integration.ollang.com/integration/project?${queryParams}`,
{
method: "GET",
headers: {
"X-Api-Key": "<your-api-key>",
},
}
);
const projects = await response.json();
console.log("Projects:", projects);
import requests
params = {
'page': 1,
'take': 10,
'orderBy': 'createdAt',
'orderDirection': 'desc',
'search': 'project'
}
headers = {
'X-Api-Key': '<your-api-key>'
}
response = requests.get(
'https://api-integration.ollang.com/integration/project',
headers=headers,
params=params
)
projects = response.json()
print("Projects:", projects)
$queryParams = http_build_query([
'page' => 1,
'take' => 10,
'orderBy' => 'createdAt',
'orderDirection' => 'desc',
'search' => 'project'
]);
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api-integration.ollang.com/integration/project?' . $queryParams,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => array(
'X-Api-Key: <your-api-key>'
),
));
$response = curl_exec($curl);
$projects = json_decode($response, true);
curl_close($curl);
echo "Projects: " . json_encode($projects);
package main
import (
"encoding/json"
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL := "https://api-integration.ollang.com/integration/project"
params := url.Values{}
params.Add("page", "1")
params.Add("take", "10")
params.Add("orderBy", "createdAt")
params.Add("orderDirection", "desc")
params.Add("search", "project")
fullURL := baseURL + "?" + params.Encode()
req, _ := http.NewRequest("GET", fullURL, nil)
req.Header.Set("X-Api-Key", "<your-api-key>")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
var projects map[string]interface{}
json.Unmarshal(body, &projects)
fmt.Println("Projects:", projects)
}
String baseUrl = "https://api-integration.ollang.com/integration/project";
String queryParams = "?page=1&take=10&orderBy=createdAt&orderDirection=desc&search=project";
HttpResponse<String> response = Unirest.get(baseUrl + queryParams)
.header("X-Api-Key", "<your-api-key>")
.asString();
JSONObject projects = new JSONObject(response.getBody());
System.out.println("Projects: " + projects.toString());
Authorizations
This endpoint requires API key authentication. Include your API key in the request header:- Header name:
X-Api-Key - Header value: Your API key from the Ollang dashboard
- Format:
X-Api-Key: your-api-key-here
Query Parameters
The field to sort the results by. Common values include
id, name,
createdAt, sourceLanguage.The direction to sort the results. Must be either
asc (ascending) or desc
(descending).A search term to filter projects by name or other searchable fields. The
search is case-insensitive and supports partial matches.
Response
The response contains a paginated list of projects with metadata about the pagination.Array of project objects containing detailed information about each project.
Show Project Object Properties
Show Project Object Properties
Pagination metadata providing information about the current page and total results.
Show Pagination Metadata
Show Pagination Metadata
{
"data": [
{
"id": "60b8d6f1e1b9b1d8c6c0d8e1",
"name": "Marketing Video Q4",
"sourceLanguage": "en",
"createdAt": "2024-01-15T10:30:45.511Z",
"folderId": "60b8d6f1e1b9b1d8c6c0d8e2",
"ordersCount": 3
},
{
"id": "60b8d6f1e1b9b1d8c6c0d8e3",
"name": "Product Demo Turkish",
"sourceLanguage": "tr",
"createdAt": "2024-01-14T14:22:33.211Z",
"folderId": "60b8d6f1e1b9b1d8c6c0d8e2",
"ordersCount": 1
},
{
"id": "60b8d6f1e1b9b1d8c6c0d8e4",
"name": "Training Material",
"sourceLanguage": "fr",
"createdAt": "2024-01-13T09:15:22.847Z",
"folderId": "60b8d6f1e1b9b1d8c6c0d8e5"
}
],
"meta": {
"page": 1,
"take": 10,
"itemCount": 25,
"pageCount": 3,
"hasPreviousPage": false,
"hasNextPage": true
}
}
{
"code": -2,
"error": "ValidationError",
"details": [
{
"messages": [
"<rule that failed>"
],
"path": "<field>"
}
]
}
{
"code": -4,
"error": "UnauthorizedException",
"message": "API Key is missing",
"errorData": "UnauthorizedException"
}
{
"error": "Internal Server Error",
"message": "Something went wrong while processing your request. Please try again later."
}
Was this page helpful?