curl --request GET \
--url https://app.surferseo.com/api/v1/content_editors \
--header 'API-KEY: <api-key>'import requests
url = "https://app.surferseo.com/api/v1/content_editors"
headers = {"API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'API-KEY': '<api-key>'}};
fetch('https://app.surferseo.com/api/v1/content_editors', 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://app.surferseo.com/api/v1/content_editors",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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://app.surferseo.com/api/v1/content_editors"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("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://app.surferseo.com/api/v1/content_editors")
.header("API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.surferseo.com/api/v1/content_editors")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"location": "United States",
"creator": "[email protected]",
"inserted_at": "2021-01-01T12:00:00Z",
"updated_at": "2021-01-01T12:00:00Z",
"ai_article_status": "new",
"id": 1,
"permalink_hash": "G74SCitlYgE_N8iIYIxIS_US8yuUgsfx",
"state": "scheduled",
"workspace_id": 1
}
],
"meta": {
"page": 2,
"page_size": 25,
"total": 100,
"total_pages": 4
}
}List Content Editors for a workspace
Deprecated. Use GET /api/v2/content_editors for an organization-wide listing or GET /api/v2/workspaces//content_editors for a workspace-scoped listing instead.
Retrieves a list of Content Editors for a workspace. It uses workspace ID from the Workspace-Id header.
If the Workspace-Id header is not provided, uses the oldest active workspace for the user’s owned organization.
The request is limited to a 90 days period and paginated.
The from and to parameters can be used to filter the results by creation date.
Rate limit: 10 requests/sec
curl --request GET \
--url https://app.surferseo.com/api/v1/content_editors \
--header 'API-KEY: <api-key>'import requests
url = "https://app.surferseo.com/api/v1/content_editors"
headers = {"API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'API-KEY': '<api-key>'}};
fetch('https://app.surferseo.com/api/v1/content_editors', 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://app.surferseo.com/api/v1/content_editors",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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://app.surferseo.com/api/v1/content_editors"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("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://app.surferseo.com/api/v1/content_editors")
.header("API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.surferseo.com/api/v1/content_editors")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"location": "United States",
"creator": "[email protected]",
"inserted_at": "2021-01-01T12:00:00Z",
"updated_at": "2021-01-01T12:00:00Z",
"ai_article_status": "new",
"id": 1,
"permalink_hash": "G74SCitlYgE_N8iIYIxIS_US8yuUgsfx",
"state": "scheduled",
"workspace_id": 1
}
],
"meta": {
"page": 2,
"page_size": 25,
"total": 100,
"total_pages": 4
}
}Authorizations
Headers
Workspace ID to list content editors from. If not provided, uses the oldest active workspace.
x >= 1Query Parameters
Page number (1-indexed)
x >= 1Number of items per page
1 <= x <= 100ISO8601 timestamp - returns only drafts created after this time. Defaults to 90 days before to date.
ISO8601 timestamp - returns only drafts created before this time. Defaults to now or 90 days after from date.
Was this page helpful?