> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api.alsona.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api.alsona.com/_mcp/server.

# Get log

GET https://alsona.com/rest/accounts/{account_id}/seats/{seat_id}/profiles/{profile_id}/logs/{timestamp}

Get a single seat-profile log by timestamp.

Reference: https://api.alsona.com/api-reference/logs/get-log

## Authentication

- `X-API-KEY` header (required)

## Request

### Path parameters

- `account_id` (string, required)
- `seat_id` (string, required)
- `profile_id` (string, required)
- `timestamp` (string, required)

## Response

### 200

- `success` (boolean, required)
- `log` (object, required)
  - `id` (string, required)
  - `ttl` (integer, required)
  - `date` (string, required)
  - `event` (string, required)
  - `value` (string, required)
  - `seat_id` (string, required)
  - `member_id` (string, required)
  - `timestamp` (integer, required)
  - `account_id` (string, required)
  - `created_at` (integer, required)
  - `created_by` (string, required)
  - `campaign_id` (string, required)
  - `seat_profile` (string, required)
  - `social_media` (string, required)

## Examples

**Response**

```json
{
  "success": true,
  "log": {
    "id": "10024172",
    "ttl": 1769287993,
    "date": "2025-07-22 21:01:08",
    "event": "ln_filter_profile_add",
    "value": "Profile added from filter",
    "seat_id": "SEAT6a13e661ecc6a86e3fb7",
    "member_id": "10024172",
    "timestamp": 1753218068808,
    "account_id": "ACCO136ce10b5f8a7682efb3",
    "created_at": 1753218068809,
    "created_by": "app",
    "campaign_id": "CAMP98dc1225b7904ff61471",
    "seat_profile": "SEAT6a13e661ecc6a86e3fb7:10024172",
    "social_media": "linkedin"
  }
}
```

**SDK Code**

```python Response
import requests

url = "https://alsona.com/rest/accounts/account_id/seats/seat_id/profiles/profile_id/logs/timestamp"

headers = {"X-API-KEY": "<apiKey>"}

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

print(response.json())
```

```javascript Response
const url = 'https://alsona.com/rest/accounts/account_id/seats/seat_id/profiles/profile_id/logs/timestamp';
const options = {method: 'GET', headers: {'X-API-KEY': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Response
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://alsona.com/rest/accounts/account_id/seats/seat_id/profiles/profile_id/logs/timestamp"

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

	req.Header.Add("X-API-KEY", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Response
require 'uri'
require 'net/http'

url = URI("https://alsona.com/rest/accounts/account_id/seats/seat_id/profiles/profile_id/logs/timestamp")

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

request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Response
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://alsona.com/rest/accounts/account_id/seats/seat_id/profiles/profile_id/logs/timestamp")
  .header("X-API-KEY", "<apiKey>")
  .asString();
```

```php Response
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://alsona.com/rest/accounts/account_id/seats/seat_id/profiles/profile_id/logs/timestamp', [
  'headers' => [
    'X-API-KEY' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Response
using RestSharp;

var client = new RestClient("https://alsona.com/rest/accounts/account_id/seats/seat_id/profiles/profile_id/logs/timestamp");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-KEY", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Response
import Foundation

let headers = ["X-API-KEY": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://alsona.com/rest/accounts/account_id/seats/seat_id/profiles/profile_id/logs/timestamp")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```