GET
/
v3
/
integrations
/
{integration_uid}
/
accounts
curl --request GET \
  --url https://api.captaindata.co/v3/integrations/{integration_uid}/accounts \
  --header 'Authorization: <api-key>' \
  --header 'x-project-id: <api-key>'
{
  "integration": {
    "uid": "xxxxxxxx",
    "title": "LinkedIn"
  },
  "accounts": [
    {
      "setup_at": "2024-11-26T15:12:17.652585",
      "name": "User Name",
      "cookies": {
        "JSESSIONID": "Session ID cookie for LinkedIn",
        "li_at": "li_at cookie for LinkedIn",
        "li_a": "li_a cookie for Sales Navigator"
      },
      "via_extension": true,
      "is_shared": false,
      "level": "Sales Navigator",
      "is_valid": true,
      "uid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "application_permalink": "linkedin",
      "application_name": "LinkedIn",
      "limits": [
        {
          "permalink": "lk-classic-connection-requests",
          "level": "Classic",
          "item_scraped": 0,
          "limit_value": 25,
          "limit_name": "connection requests",
          "start_time_range": "2024-11-25T15:29:36",
          "end_time_range": "2024-11-26T15:29:36",
          "templates": [
            "xxxxx-xxxx-xxxx-a7f2-f571d8ff2f2d"
          ],
          "nbr_inputs_queued_next_seven_days": 0
        }
      ]
    }
  ],
  "next_page_exist": true,
  "number_total_acounts": 11
}

Authorizations

Authorization
string
header
required

The Authorization header must include 'x-api-key' followed by your API key (e.g., 'Authorization: x-api-key YOUR_API_KEY').

x-project-id
string
header
required

Workspace UID required to identify the workspace.

Path Parameters

integration_uid
string
required

The integration's slug, for example 'linkedin' to fetch accounts from.

Query Parameters

page
integer

Defaults to 0. Increase this value to enable the pagination system.

stats
string

If set to 'true', it will return the limits (as an array) and the consumption for each limit. Defaults to 'true'. We recommend setting this to 'false' as it takes longer to compute.

is_valid
string

If set to 'true', it will only return valid accounts, i.e., accounts with valid cookies, API keys, etc.

limit
integer

Limit the number of accounts returned (default is 10). We recommend not setting a higher value, as it may take longer to process.

Response

200
application/json
Successful Response
integration
object
required
accounts
object[]
required

List of accounts associated with the integration.

next_page_exist
boolean
required

Whether there is a next page available.

number_total_acounts
integer
required

Total number of accounts.