For clean Markdown of any page, append .md to the page URL. For a complete documentation index, see https://api.hublinks.io/api-reference/seats/llms.txt. For full documentation content, see https://api.hublinks.io/api-reference/seats/llms-full.txt.

# Get seat

GET https://hublinks.io/rest/accounts/{account_id}/seats/{seat_id}

Retrieve details of a specific seat.

Reference: https://api.hublinks.io/api-reference/seats/get-seat

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /rest/accounts/{account_id}/seats/{seat_id}:
    get:
      operationId: get-seat
      summary: Get seat
      description: Retrieve details of a specific seat.
      tags:
        - subpackage_seats
      parameters:
        - name: account_id
          in: path
          description: The ID of the account.
          required: true
          schema:
            type: string
        - name: seat_id
          in: path
          description: The ID of the seat.
          required: true
          schema:
            type: string
        - name: X-API-KEY
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Seats_Get seat_Response_200'
servers:
  - url: https://hublinks.io
components:
  schemas:
    SeatProxy:
      type: object
      properties:
        country:
          type: string
          description: Two-letter country code of the proxy.
        city:
          type: string
        host:
          type: string
        port:
          type: string
        username:
          type: string
        password:
          type: string
        type:
          type: string
          description: 'Proxy type. One of: `internal`, `custom`.'
      description: Proxy configuration used by this seat.
      title: SeatProxy
    SeatLnCredentials:
      type: object
      properties:
        email:
          type: string
        password_provided:
          type: boolean
        otp_provided:
          type: boolean
      description: LinkedIn credentials status for this seat.
      title: SeatLnCredentials
    SeatLimits:
      type: object
      properties:
        ln_profile_message_day:
          type: integer
        ln_profile_invite_day:
          type: integer
        ln_profile_withdraw_count:
          type: integer
        ln_profile_withdraw_days:
          type: integer
        ln_page_invite_day:
          type: integer
        ln_profile_follow_day:
          type: integer
        ln_profile_like_post_day:
          type: integer
        ln_profile_view_day:
          type: integer
        ln_profile_inmail_day:
          type: integer
        ln_profile_comment_post_day:
          type: integer
        ln_enrich_day:
          type: integer
        email_send_day:
          type: integer
      description: Daily action limits for the seat.
      title: SeatLimits
    SeatSnStatus:
      type: object
      properties:
        inmail_credits:
          type: integer
          description: Remaining InMail credits.
        checked_at:
          type: integer
          description: Unix timestamp (ms) when the status was last checked.
      description: Sales Navigator status. Present only when `ln_has_SN` is `true`.
      title: SeatSnStatus
    Seat:
      type: object
      properties:
        seat_id:
          type: string
          description: Unique identifier of the seat.
        account_id:
          type: string
          description: ID of the account this seat belongs to.
        name:
          type: string
          description: Display name of the seat, typically the LinkedIn email address.
        status:
          type: string
          description: 'Current status of the seat. One of: `ENABLED`, `DISABLED`, `ERROR`.'
        created_at:
          type: integer
          description: Unix timestamp (ms) when the seat was created.
        updated_at:
          type: integer
          description: Unix timestamp (ms) when the seat was last updated.
        priority:
          type: integer
          description: Seat priority order within the account.
        auto_scale:
          type: boolean
          description: Whether auto-scaling of daily limits is enabled.
        error:
          type: string
          description: Error message if the seat is in an error state.
        email:
          type: string
          description: Email address associated with the seat for email outreach.
        email_status:
          type: string
          description: 'Status of the email sender. One of: `ENABLED`, `DISABLED`.'
        proxy:
          $ref: '#/components/schemas/SeatProxy'
          description: Proxy configuration used by this seat.
        ln_credentials:
          $ref: '#/components/schemas/SeatLnCredentials'
          description: LinkedIn credentials status for this seat.
        ln_is_connected:
          type: boolean
          description: Whether the seat is currently connected to LinkedIn.
        ln_profile_id:
          type: string
          description: LinkedIn internal profile ID.
        ln_public_id:
          type: string
          description: LinkedIn public profile slug.
        ln_first_name:
          type: string
        ln_last_name:
          type: string
        ln_headline:
          type: string
          description: LinkedIn profile headline.
        ln_lang:
          type: string
          description: Language of the LinkedIn profile.
        ln_premium:
          type: boolean
          description: Whether the LinkedIn account has a Premium subscription.
        ln_has_SN:
          type: boolean
          description: Whether the LinkedIn account has Sales Navigator.
        ln_memorialized:
          type: boolean
          description: Whether the LinkedIn profile has been memorialized.
        ln_ai_active:
          type: boolean
          description: Whether AI-assisted messaging is active for this seat.
        ln_connections_count:
          type: integer
          description: Number of LinkedIn connections.
        ln_last_login:
          type: integer
          description: Unix timestamp (ms) of the last LinkedIn login.
        ln_last_active:
          type: integer
          description: Unix timestamp (ms) of the last LinkedIn activity.
        ln_limits:
          $ref: '#/components/schemas/SeatLimits'
          description: Configured daily action limits.
        ln_auto_scale_limits:
          $ref: '#/components/schemas/SeatLimits'
          description: >-
            Auto-scaled daily action limits (computed when `auto_scale` is
            enabled).
        sn_status:
          $ref: '#/components/schemas/SeatSnStatus'
          description: Sales Navigator status. Present only when `ln_has_SN` is `true`.
        urn_sn:
          type: string
          description: Sales Navigator URN for this profile.
        inbox_ln_last_sync:
          type: integer
          description: Unix timestamp (ms) of the last LinkedIn inbox sync.
        inbox_email_last_sync:
          type: integer
          description: Unix timestamp (ms) of the last email inbox sync.
        connections_ln_last_sync:
          type: integer
          description: Unix timestamp (ms) of the last LinkedIn connections sync.
      required:
        - seat_id
        - account_id
        - name
        - status
        - created_at
        - auto_scale
        - proxy
        - ln_credentials
        - ln_is_connected
      title: Seat
    Seats_Get seat_Response_200:
      type: object
      properties:
        success:
          type: boolean
        seat:
          $ref: '#/components/schemas/Seat'
      required:
        - success
        - seat
      title: Seats_Get seat_Response_200
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

```

## SDK Code Examples

```python Response
import requests

url = "https://hublinks.io/rest/accounts/account_id/seats/seat_id"

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

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

print(response.json())
```

```javascript Response
const url = 'https://hublinks.io/rest/accounts/account_id/seats/seat_id';
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://hublinks.io/rest/accounts/account_id/seats/seat_id"

	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://hublinks.io/rest/accounts/account_id/seats/seat_id")

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://hublinks.io/rest/accounts/account_id/seats/seat_id")
  .header("X-API-KEY", "<apiKey>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://hublinks.io/rest/accounts/account_id/seats/seat_id', [
  'headers' => [
    'X-API-KEY' => '<apiKey>',
  ],
]);

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

```csharp Response
using RestSharp;

var client = new RestClient("https://hublinks.io/rest/accounts/account_id/seats/seat_id");
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://hublinks.io/rest/accounts/account_id/seats/seat_id")! 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()
```