Skip to main content
GET
/
v1
/
company-activities
List company activities
curl --request GET \
  --url https://api.stardex.ai/v1/company-activities \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.stardex.ai/v1/company-activities"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.stardex.ai/v1/company-activities', 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.stardex.ai/v1/company-activities",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "Authorization: Bearer <token>"
  ],
]);

$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.stardex.ai/v1/company-activities"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	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.stardex.ai/v1/company-activities")
  .header("Authorization", "Bearer <token>")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://api.stardex.ai/v1/company-activities")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "success": true,
  "data": [
    {
      "id": "901e2345-e67f-89ab-cdef-456789012345",
      "organization_company_id": "123e4567-e89b-12d3-a456-426614174000",
      "activity_type": "meeting_note",
      "activity_content": "<p>Quarterly business review with finance team. Discussed Q3 hiring plans.</p>",
      "activity_raw_content": "Quarterly business review with finance team. Discussed Q3 hiring plans.",
      "is_starred": false,
      "created_by": {
        "id": "7d57bf3f-b470-48c0-ac98-a3f75b817209",
        "first_name": "Pranav",
        "last_name": "Patel"
      },
      "created_at": "2024-01-15T10:30:00Z",
      "updated_at": "2024-01-15T10:30:00Z"
    }
  ],
  "meta": {
    "total": 1,
    "offset": 0,
    "limit": 100
  }
}
{
  "success": false,
  "error": {
    "code": "<string>",
    "message": "<string>"
  }
}
{
  "success": false,
  "error": {
    "code": "<string>",
    "message": "<string>"
  }
}
{
  "success": false,
  "error": {
    "code": "<string>",
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Authenticate with a Bearer token: API key, OAuth token, or session token.

Query Parameters

offset
integer | null
default:0

Records to skip for pagination. Defaults to 0.

Required range: x >= 0
limit
integer
default:100

Max records per page (1–100). Defaults to 100.

Required range: 1 <= x <= 100
organization_company_id
string<uuid>
required

Company UUID to list activities for. Required.

activity_types
string

Comma-separated activity type keys to include (e.g. secondary_note,call_note). Discover valid keys via GET /v1/company-activities/types.

excluded_activity_types
string

Comma-separated activity type keys to exclude.

Response

Company activities fetched

success
enum<boolean>
required
Available options:
true
data
object[]
required
meta
object
required