Get a pending account selection
curl --request GET \
--url https://api.social-api.ai/v1/accounts/pending/{connection_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.social-api.ai/v1/accounts/pending/{connection_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/accounts/pending/{connection_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"connection_id": "<string>",
"expires_at": "2026-07-04T12:30:00Z",
"platform": "google",
"profiles": [
{
"bio": "Wood-fired pizza since 1998",
"display_name": "Joe's Pizza (Downtown)",
"platform_account_id": "accounts/123/locations/456",
"profile_picture_url": "",
"username": ""
}
],
"login_id": "<string>",
"lost_access": [
{
"brand_id": "<string>",
"brand_name": "<string>",
"name": "<string>",
"platform_page_id": "<string>"
}
],
"pages": [
{
"assignable": true,
"name": "Acme Bakery",
"platform_page_id": "17841400000000000",
"assigned_account_id": "<string>",
"assigned_brand_id": "<string>",
"assigned_brand_name": "<string>",
"category": "<string>",
"picture_url": "<string>"
}
]
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}Accounts
Get a pending account selection
Returns the candidates of a pending connection: the Google Business Profiles of a Google login that manages more than one, the LinkedIn member profile and company Pages of a LinkedIn authorization that offers more than one, or the phone numbers of a WhatsApp Business account that holds several. Choose one with the select endpoint.
GET
/
accounts
/
pending
/
{connection_id}
Get a pending account selection
curl --request GET \
--url https://api.social-api.ai/v1/accounts/pending/{connection_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.social-api.ai/v1/accounts/pending/{connection_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/accounts/pending/{connection_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"connection_id": "<string>",
"expires_at": "2026-07-04T12:30:00Z",
"platform": "google",
"profiles": [
{
"bio": "Wood-fired pizza since 1998",
"display_name": "Joe's Pizza (Downtown)",
"platform_account_id": "accounts/123/locations/456",
"profile_picture_url": "",
"username": ""
}
],
"login_id": "<string>",
"lost_access": [
{
"brand_id": "<string>",
"brand_name": "<string>",
"name": "<string>",
"platform_page_id": "<string>"
}
],
"pages": [
{
"assignable": true,
"name": "Acme Bakery",
"platform_page_id": "17841400000000000",
"assigned_account_id": "<string>",
"assigned_brand_id": "<string>",
"assigned_brand_name": "<string>",
"category": "<string>",
"picture_url": "<string>"
}
]
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}Authorizations
Response
OK