curl --request GET \
--url https://openapi.enginy.ai/v1/social-selling/capabilities \
--header 'x-api-key: <api-key>'import requests
url = "https://openapi.enginy.ai/v1/social-selling/capabilities"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://openapi.enginy.ai/v1/social-selling/capabilities', 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://openapi.enginy.ai/v1/social-selling/capabilities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-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://openapi.enginy.ai/v1/social-selling/capabilities"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-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://openapi.enginy.ai/v1/social-selling/capabilities")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://openapi.enginy.ai/v1/social-selling/capabilities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "<string>",
"data": {
"caller": {
"read": true,
"write": true,
"restrictedToIdentities": true
},
"formats": {
"image": {
"mimeTypes": [
"<string>"
],
"maxBytes": 123,
"maxCount": 123,
"altTextMaxLength": 123
},
"video": {
"mimeTypes": [
"<string>"
],
"minBytes": 123,
"maxBytes": 123,
"maxCount": 123,
"minDurationSeconds": 123,
"maxDurationSeconds": 123
},
"document": {
"mimeTypes": [
"<string>"
],
"maxBytes": 123,
"maxCount": 123,
"titleMaxLength": 123
},
"mixedMediaTypes": false
},
"visibility": [
"ANYONE"
],
"companyPages": {
"supported": true,
"note": "<string>"
},
"analytics": {
"cadence": "DAILY",
"hourly": false,
"publicationWindows": [
"firstDay"
],
"impressions": "<string>",
"breakdowns": [
"<string>"
],
"notMeasured": [
"<string>"
]
},
"unsupported": [
{
"capability": "<string>",
"status": "UNAVAILABLE_PROVIDER",
"reason": "<string>"
}
],
"identities": [
{
"id": 123,
"name": "<string>",
"linkedInUrl": "<string>",
"connection": {
"status": "HEALTHY",
"issues": [
"<string>"
],
"linkedinCredentialsExpired": true,
"restrictedUntil": "<string>",
"sync": {
"status": "<string>",
"lastSucceededAt": "<string>",
"failureMessage": "<string>"
},
"creatorAnalytics": "AVAILABLE"
},
"consent": {
"callerIsOwner": true,
"comment": "ALLOWED",
"repost": "ALLOWED",
"save": "ALLOWED",
"react": "ALLOWED"
},
"actions": [
{
"action": "READ_POSTS",
"status": "AVAILABLE",
"reason": "<string>"
}
]
}
]
}
}Get Social Selling capabilities
What you can do in Social Selling and why not when you cannot. Per identity you may see: LinkedIn connection health (expired session, LinkedIn restriction, sync state, creator analytics), the owner’s consent to colleagues commenting, reposting, saving or reacting, and each action’s status — AVAILABLE, REQUIRES_OWNER_APPROVAL (the owner approves before it runs), DENIED_PERMISSION (your credential’s scopes or the owner’s consent), UNHEALTHY_CONNECTION (fix the LinkedIn connection first) or UNAVAILABLE_PROVIDER (not supported at all). Also the supported media formats and limits, post visibility, company-page posting and which analytics exist (daily cadence, no hourly data, no clicks or saves). Call it before publishing or engaging from an identity. Read-only.
Required scope:
SOCIAL_SELLING_READRate limit: 100 requests per minute
curl --request GET \
--url https://openapi.enginy.ai/v1/social-selling/capabilities \
--header 'x-api-key: <api-key>'import requests
url = "https://openapi.enginy.ai/v1/social-selling/capabilities"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://openapi.enginy.ai/v1/social-selling/capabilities', 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://openapi.enginy.ai/v1/social-selling/capabilities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-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://openapi.enginy.ai/v1/social-selling/capabilities"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-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://openapi.enginy.ai/v1/social-selling/capabilities")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://openapi.enginy.ai/v1/social-selling/capabilities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "<string>",
"data": {
"caller": {
"read": true,
"write": true,
"restrictedToIdentities": true
},
"formats": {
"image": {
"mimeTypes": [
"<string>"
],
"maxBytes": 123,
"maxCount": 123,
"altTextMaxLength": 123
},
"video": {
"mimeTypes": [
"<string>"
],
"minBytes": 123,
"maxBytes": 123,
"maxCount": 123,
"minDurationSeconds": 123,
"maxDurationSeconds": 123
},
"document": {
"mimeTypes": [
"<string>"
],
"maxBytes": 123,
"maxCount": 123,
"titleMaxLength": 123
},
"mixedMediaTypes": false
},
"visibility": [
"ANYONE"
],
"companyPages": {
"supported": true,
"note": "<string>"
},
"analytics": {
"cadence": "DAILY",
"hourly": false,
"publicationWindows": [
"firstDay"
],
"impressions": "<string>",
"breakdowns": [
"<string>"
],
"notMeasured": [
"<string>"
]
},
"unsupported": [
{
"capability": "<string>",
"status": "UNAVAILABLE_PROVIDER",
"reason": "<string>"
}
],
"identities": [
{
"id": 123,
"name": "<string>",
"linkedInUrl": "<string>",
"connection": {
"status": "HEALTHY",
"issues": [
"<string>"
],
"linkedinCredentialsExpired": true,
"restrictedUntil": "<string>",
"sync": {
"status": "<string>",
"lastSucceededAt": "<string>",
"failureMessage": "<string>"
},
"creatorAnalytics": "AVAILABLE"
},
"consent": {
"callerIsOwner": true,
"comment": "ALLOWED",
"repost": "ALLOWED",
"save": "ALLOWED",
"react": "ALLOWED"
},
"actions": [
{
"action": "READ_POSTS",
"status": "AVAILABLE",
"reason": "<string>"
}
]
}
]
}
}Authorizations
Query Parameters
Only these identities (comma-separated). Defaults to every identity the caller may see.
1"228,323"