curl \
-H "Authorization: Bearer API_KEY" \
-X GET https://api.ayrshare.com/api/user
const API_KEY = "API_KEY";
fetch("https://api.ayrshare.com/api/user", {
method: "GET",
headers: {
"Authorization": `Bearer ${API_KEY}`
}
})
.then((res) => res.json())
.then((json) => console.log(json))
.catch(console.error);
import requests
headers = {'Authorization': 'Bearer API_KEY'}
r = requests.get('https://api.ayrshare.com/api/user', headers=headers)
print(r.json())
$apiUrl = 'https://api.ayrshare.com/api/user';
$apiKey = 'API_KEY'; // Replace 'API_KEY' with your actual API key
$headers = [
'Content-Type: application/json',
'Authorization: Bearer ' . $apiKey,
];
$curl = curl_init($apiUrl);
curl_setopt_array($curl, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => $headers
]);
$response = curl_exec($curl);
if ($response === false) {
echo 'Curl error: ' . curl_error($curl);
} else {
echo json_encode(json_decode($response), JSON_PRETTY_PRINT);
}
curl_close($curl);
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace UserGETRequest_csharp
{
class User
{
static async Task Main(string[] args)
{
string API_KEY = "API_KEY";
string url = "https://api.ayrshare.com/api/user";
using (var client = new HttpClient())
{
client.DefaultRequestHeaders.Add("Authorization", "Bearer " + API_KEY);
try
{
HttpResponseMessage response = await client.GetAsync(url);
response.EnsureSuccessStatusCode();
string responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
}
catch (HttpRequestException e)
{
Console.WriteLine($"Error: {e.Message}");
}
}
}
}
}
{
"activeSocialAccounts": [
"bluesky",
"facebook",
"gmb",
"instagram",
"linkedin",
"pinterest",
"reddit",
"snapchat",
"telegram",
"threads",
"tiktok",
"twitter",
"youtube"
],
"created": {
"_seconds": 1667351022,
"_nanoseconds": 814000000,
"utc": "2022-11-02T01:03:42Z"
},
"displayNames": [
{ // Bluesky
"created": "2025-01-06T21:30:19.756Z",
"description": "Ayrshare's Social APIs provide the core infrastructure for social media posting, management, and analytics.",
"displayName": "Ayrshare",
"id": "did:plc:62musrcyanhro2lydyhl",
"platform": "bluesky",
"userImage": "https://cdn.bsky.app/img/avatar/plain/did:plc:62musrcyanhro2lydyhlw7ci/bafkreie",
"username": "ayrshare.com"
},
{ // Facebook
"created": "2022-11-14T16:18:49.110Z",
"displayName": "Ayrshare",
"id": "106638152329",
"messagingActive": true,
"pageName": "Ayrshare",
"platform": "facebook",
"profileUrl": "https://www.facebook.com/ayrshare",
"userId": "283748192833",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/facebook.jpeg"
},
{ // Google Business Profile
"created": "2024-03-27T20:47:46.251Z",
"description": "Easy to integrate Social Media APIs allow you to manage all your users' social accounts right from your product. Post, Auto Schedule, and Analytics. Great for SaaS, CMS, DAM, Agencies, and Apps.",
"displayName": "Ayrshare",
"mapsUrl": "https://maps.google.com/maps?cid=5229466225881728772",
"placeId": "ChIJN53jw8BZwokRBEeVVtPLkkg",
"platform": "gmb",
"profileUrl": "https://www.ayrshare.com/",
"reviewUrl": "https://search.google.com/local/writereview?placeid=ChIJN53jw8BZwokRBEeVVtPLkkg"
},
{ // Instagram
"created": "2022-11-09T20:36:58.659Z",
"displayName": "Ayrshare",
"id": "1784144322",
"igId": "62938492293422",
"messagingActive": true,
"pageName": "Social Media API",
"platform": "instagram",
"profileUrl": "https://www.instagram.com/ayrshare",
"type": "business",
"usedQuota": 34,
"userId": "2938492293422",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/instagram.jpeg",
"username": "ayrshare",
"type": "business",
"usedQuota": 20
},
{ // LinkedIn
"created": "2022-11-17T18:52:29.830Z",
"displayName": "Ayrshare",
"id": "72157",
"platform": "linkedin",
"profileUrl": "https://www.linkedin.com/company/ayrshare",
"refreshDaysRemaining": 364,
"refreshRequired": "2023-11-17T18:52:29.830Z",
"type": "corporate",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/linkedin.jpeg",
"username": "ayrshare"
},
{ // Pinterest
"created": "2022-12-06T03:16:52.642Z",
"displayName": "Ayrshare",
"id": "42995790741",
"platform": "pinterest",
"profileUrl": "https://www.pinterest.com/ayrshare",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/pinterest.jpeg",
"username": "ayrshare"
},
{ // Reddit
"created": "2022-11-17T18:55:34.419Z",
"displayName": "funone",
"platform": "reddit",
"profileUrl": "https://www.reddit.com/user/funone",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/reddit.png",
"username": "funone"
},
{ // Snapchat
"created": "2025-05-19T19:23:40.925Z",
"displayName": "ayrshare",
"id": "43548e97-edf1-44f9-984a-0a384703333",
"platform": "snapchat",
"profileUrl": "https://www.snapchat.com/add/username",
"userImage": "https://img.ayrshare.com/EuMQpMIgcPZYuwHnWeVBCXyftb52/social/snapchat",
"username": "ayrshare"
},
{ // Telegram
"created": "2022-11-17T18:55:16.320Z",
"displayName": "Ayrshare",
"id": -10017122,
"platform": "telegram",
"profileUrl": "https://web.telegram.org/z/#-17122",
"type": "channel",
"userImage": "https://img.ayrshare.com/nclMLxaIzmXHxOi4KEggA5gQ1T82/social/telegram.octo-stream"
},
{ // Threads
"created": "2025-04-24T20:26:28.311Z",
"displayName": "Ayrshare",
"id": "9273292656113202",
"isEligibleForGeoRestrictions": false,
"isVerified": false,
"platform": "threads",
"profileUrl": "https://www.threads.com/@ayrshare",
"userImage": "https://scontent-dfw5-2.cdninstagram.com/v/t51.2885-15/357665262",
"username": "ayrshare"
},
{ // TikTok
"created": "2022-11-02T02:11:53.452Z",
"displayName": "Ayrshare",
"id": "5ebc6f39-7900-421e-bf9",
"platform": "tiktok",
"profileUrl": "https://www.tiktok.com/@ayrshare",
"refreshDaysRemaining": 234,
"refreshRequired": "2026-04-24T15:25:32.344Z",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/tiktok.jpeg",
"username": "@ayrshare"
},
{ // Twitter
"created": "2022-11-02T01:38:42.326Z",
"displayName": "ayrshare",
"id": "1194881472",
"messagingActive": true,
"platform": "twitter",
"profileUrl": "https://twitter.com/ayrshare",
"subscriptionType": "Premium",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/twitter.png",
"username": "ayrshare",
"verifiedType": "blue"
},
{ // YouTube
"channelId": "UCcMBjBksQnhCn5NNLtGKphw", // YouTube channel ID (starts with "UC") — different from "id" below
"channelTitle": "Ayrshare", // The channel's actual title
"created": "2022-11-17T18:54:09.954Z",
"displayName": "Kenneth Chen", // The connected Google account holder's name — NOT the channel title
"handle": "@ayrshare", // The @handle — omitted when the channel has no custom URL
"id": "106891058521430758565", // Google account ID — different from "channelId"
"platform": "youtube",
"profileUrl": "https://www.youtube.com/@ayrshare", // Falls back to https://www.youtube.com/channel/<channelId> when the channel has no custom URL
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/youtube.png",
"username": "Kenneth Chen" // The connected Google account holder's name — NOT the channel title
}
],
"email": "me@ayrshare.com",
"lastApiCall": "2024-08-14T15:18:11Z",
"messagingConversationMonthlyCount": 7,
"messagingEnabled": true,
"monthlyApiCalls": 120,
"monthlyPostCount": 49,
"monthlyPostQuota": 500,
"refId": "13a9da9e0df1183a7a6a1fc2c60b8023fa9a32a0",
"title": "Primary Profile",
"lastUpdated": "2024-01-04T15:51:17.775Z", // وقت إنشاء لقطة التخزين المؤقت هذه
"nextUpdate": "2024-01-04T15:52:17.775Z" // وقت انتهاء صلاحية التخزين المؤقت. ليست إشارة جاهزية — راجع قسم تخزين الاستجابة مؤقتًا أعلاه
}
{
"action": "post",
"status": "error",
"code": 144,
"message": "Some profiles not found. Please verify the Profile Keys."
}
User
تفاصيل ملف المستخدم
احصل على معلومات حول المستخدم أو ملف المستخدم
GET
/
user
curl \
-H "Authorization: Bearer API_KEY" \
-X GET https://api.ayrshare.com/api/user
const API_KEY = "API_KEY";
fetch("https://api.ayrshare.com/api/user", {
method: "GET",
headers: {
"Authorization": `Bearer ${API_KEY}`
}
})
.then((res) => res.json())
.then((json) => console.log(json))
.catch(console.error);
import requests
headers = {'Authorization': 'Bearer API_KEY'}
r = requests.get('https://api.ayrshare.com/api/user', headers=headers)
print(r.json())
$apiUrl = 'https://api.ayrshare.com/api/user';
$apiKey = 'API_KEY'; // Replace 'API_KEY' with your actual API key
$headers = [
'Content-Type: application/json',
'Authorization: Bearer ' . $apiKey,
];
$curl = curl_init($apiUrl);
curl_setopt_array($curl, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => $headers
]);
$response = curl_exec($curl);
if ($response === false) {
echo 'Curl error: ' . curl_error($curl);
} else {
echo json_encode(json_decode($response), JSON_PRETTY_PRINT);
}
curl_close($curl);
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace UserGETRequest_csharp
{
class User
{
static async Task Main(string[] args)
{
string API_KEY = "API_KEY";
string url = "https://api.ayrshare.com/api/user";
using (var client = new HttpClient())
{
client.DefaultRequestHeaders.Add("Authorization", "Bearer " + API_KEY);
try
{
HttpResponseMessage response = await client.GetAsync(url);
response.EnsureSuccessStatusCode();
string responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
}
catch (HttpRequestException e)
{
Console.WriteLine($"Error: {e.Message}");
}
}
}
}
}
{
"activeSocialAccounts": [
"bluesky",
"facebook",
"gmb",
"instagram",
"linkedin",
"pinterest",
"reddit",
"snapchat",
"telegram",
"threads",
"tiktok",
"twitter",
"youtube"
],
"created": {
"_seconds": 1667351022,
"_nanoseconds": 814000000,
"utc": "2022-11-02T01:03:42Z"
},
"displayNames": [
{ // Bluesky
"created": "2025-01-06T21:30:19.756Z",
"description": "Ayrshare's Social APIs provide the core infrastructure for social media posting, management, and analytics.",
"displayName": "Ayrshare",
"id": "did:plc:62musrcyanhro2lydyhl",
"platform": "bluesky",
"userImage": "https://cdn.bsky.app/img/avatar/plain/did:plc:62musrcyanhro2lydyhlw7ci/bafkreie",
"username": "ayrshare.com"
},
{ // Facebook
"created": "2022-11-14T16:18:49.110Z",
"displayName": "Ayrshare",
"id": "106638152329",
"messagingActive": true,
"pageName": "Ayrshare",
"platform": "facebook",
"profileUrl": "https://www.facebook.com/ayrshare",
"userId": "283748192833",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/facebook.jpeg"
},
{ // Google Business Profile
"created": "2024-03-27T20:47:46.251Z",
"description": "Easy to integrate Social Media APIs allow you to manage all your users' social accounts right from your product. Post, Auto Schedule, and Analytics. Great for SaaS, CMS, DAM, Agencies, and Apps.",
"displayName": "Ayrshare",
"mapsUrl": "https://maps.google.com/maps?cid=5229466225881728772",
"placeId": "ChIJN53jw8BZwokRBEeVVtPLkkg",
"platform": "gmb",
"profileUrl": "https://www.ayrshare.com/",
"reviewUrl": "https://search.google.com/local/writereview?placeid=ChIJN53jw8BZwokRBEeVVtPLkkg"
},
{ // Instagram
"created": "2022-11-09T20:36:58.659Z",
"displayName": "Ayrshare",
"id": "1784144322",
"igId": "62938492293422",
"messagingActive": true,
"pageName": "Social Media API",
"platform": "instagram",
"profileUrl": "https://www.instagram.com/ayrshare",
"type": "business",
"usedQuota": 34,
"userId": "2938492293422",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/instagram.jpeg",
"username": "ayrshare",
"type": "business",
"usedQuota": 20
},
{ // LinkedIn
"created": "2022-11-17T18:52:29.830Z",
"displayName": "Ayrshare",
"id": "72157",
"platform": "linkedin",
"profileUrl": "https://www.linkedin.com/company/ayrshare",
"refreshDaysRemaining": 364,
"refreshRequired": "2023-11-17T18:52:29.830Z",
"type": "corporate",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/linkedin.jpeg",
"username": "ayrshare"
},
{ // Pinterest
"created": "2022-12-06T03:16:52.642Z",
"displayName": "Ayrshare",
"id": "42995790741",
"platform": "pinterest",
"profileUrl": "https://www.pinterest.com/ayrshare",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/pinterest.jpeg",
"username": "ayrshare"
},
{ // Reddit
"created": "2022-11-17T18:55:34.419Z",
"displayName": "funone",
"platform": "reddit",
"profileUrl": "https://www.reddit.com/user/funone",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/reddit.png",
"username": "funone"
},
{ // Snapchat
"created": "2025-05-19T19:23:40.925Z",
"displayName": "ayrshare",
"id": "43548e97-edf1-44f9-984a-0a384703333",
"platform": "snapchat",
"profileUrl": "https://www.snapchat.com/add/username",
"userImage": "https://img.ayrshare.com/EuMQpMIgcPZYuwHnWeVBCXyftb52/social/snapchat",
"username": "ayrshare"
},
{ // Telegram
"created": "2022-11-17T18:55:16.320Z",
"displayName": "Ayrshare",
"id": -10017122,
"platform": "telegram",
"profileUrl": "https://web.telegram.org/z/#-17122",
"type": "channel",
"userImage": "https://img.ayrshare.com/nclMLxaIzmXHxOi4KEggA5gQ1T82/social/telegram.octo-stream"
},
{ // Threads
"created": "2025-04-24T20:26:28.311Z",
"displayName": "Ayrshare",
"id": "9273292656113202",
"isEligibleForGeoRestrictions": false,
"isVerified": false,
"platform": "threads",
"profileUrl": "https://www.threads.com/@ayrshare",
"userImage": "https://scontent-dfw5-2.cdninstagram.com/v/t51.2885-15/357665262",
"username": "ayrshare"
},
{ // TikTok
"created": "2022-11-02T02:11:53.452Z",
"displayName": "Ayrshare",
"id": "5ebc6f39-7900-421e-bf9",
"platform": "tiktok",
"profileUrl": "https://www.tiktok.com/@ayrshare",
"refreshDaysRemaining": 234,
"refreshRequired": "2026-04-24T15:25:32.344Z",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/tiktok.jpeg",
"username": "@ayrshare"
},
{ // Twitter
"created": "2022-11-02T01:38:42.326Z",
"displayName": "ayrshare",
"id": "1194881472",
"messagingActive": true,
"platform": "twitter",
"profileUrl": "https://twitter.com/ayrshare",
"subscriptionType": "Premium",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/twitter.png",
"username": "ayrshare",
"verifiedType": "blue"
},
{ // YouTube
"channelId": "UCcMBjBksQnhCn5NNLtGKphw", // YouTube channel ID (starts with "UC") — different from "id" below
"channelTitle": "Ayrshare", // The channel's actual title
"created": "2022-11-17T18:54:09.954Z",
"displayName": "Kenneth Chen", // The connected Google account holder's name — NOT the channel title
"handle": "@ayrshare", // The @handle — omitted when the channel has no custom URL
"id": "106891058521430758565", // Google account ID — different from "channelId"
"platform": "youtube",
"profileUrl": "https://www.youtube.com/@ayrshare", // Falls back to https://www.youtube.com/channel/<channelId> when the channel has no custom URL
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/youtube.png",
"username": "Kenneth Chen" // The connected Google account holder's name — NOT the channel title
}
],
"email": "me@ayrshare.com",
"lastApiCall": "2024-08-14T15:18:11Z",
"messagingConversationMonthlyCount": 7,
"messagingEnabled": true,
"monthlyApiCalls": 120,
"monthlyPostCount": 49,
"monthlyPostQuota": 500,
"refId": "13a9da9e0df1183a7a6a1fc2c60b8023fa9a32a0",
"title": "Primary Profile",
"lastUpdated": "2024-01-04T15:51:17.775Z", // وقت إنشاء لقطة التخزين المؤقت هذه
"nextUpdate": "2024-01-04T15:52:17.775Z" // وقت انتهاء صلاحية التخزين المؤقت. ليست إشارة جاهزية — راجع قسم تخزين الاستجابة مؤقتًا أعلاه
}
{
"action": "post",
"status": "error",
"code": 144,
"message": "Some profiles not found. Please verify the Profile Keys."
}
تسترجع نقطة النهاية هذه معلومات مفصّلة عن المستخدم أو ملف المستخدم المُصادق عليه، بما في ذلك:
إذا لم تكن هناك حسابات اجتماعية مربوطة، فلن يتم إرجاع
- قائمة شاملة بجميع حسابات وسائل التواصل الاجتماعي المربوطة
- أسماء مستخدمي وسائل التواصل الاجتماعي ومعلومات الملف الشخصي
- حالة الحساب ومقاييس الاستخدام
تخزين الاستجابة مؤقتًا. تُخزَّن الاستجابات مؤقتًا لمدة تصل إلى 60 ثانية. يصف الحقلان
lastUpdated وnextUpdate نافذة التخزين المؤقت هذه: lastUpdated هو وقت إنشاء اللقطة، وnextUpdate هو وقت انتهاء صلاحيتها.nextUpdate هو علامة انتهاء صلاحية للتخزين المؤقت، وليس إشارة جاهزية. يُوسَم به كل استجابة، بما في ذلك الاستجابة التي لا يُدرج فيها displayNames بعدُ حسابًا تلقيت بشأنه إشعارًا للتو، لذا لا يمكنه إخبارك بموعد اكتمال انتشار حساب مربوط حديثًا.إذا كنت تُوفّق إشعار social webhook لربط جديد كليًا، فاستعلم بشكل متكرر حتى يظهر الحساب المتوقع فعليًا في displayNames — لا تعتبر استجابة واحدة، أو وصول nextUpdate، تأكيدًا بأن الربط غائب أو مكتمل.username مقابل displayName في Threads. في إدخال Threads ضمن displayNames، يمثّل username المعرّف (handle) الخاص بالحساب (مثل ayrshare)، ويمثّل displayName الاسم المعروض في الملف الشخصي (مثل Ayrshare). قد تختلف القيمتان، لذا استخدم username أو profileUrl للعثور على حساب Threads.activeSocialAccounts.
احصل على بيانات لملف مستخدم معيّن بإضافة Profile-Key في الترويسة.
- إذا كانت شركتك تتطلب جمع جميع بيانات ملفات المستخدمين مرة واحدة، فيُرجى استخدام نقطة نهاية /user/batch.
- إذا كنت بحاجة إلى إشعار عند ربط مستخدم أو فصله لحساب اجتماعي، فيُرجى الاطلاع على نقطة نهاية /webhooks.
معاملات الترويسة
معاملات الاستعلام
boolean
افتراضي:false
يُرجع تفاصيل Instagram الإضافية مثل نوع الحساب (business أو creator) والحصة المستخدمة.
لا يوصى به إلا إذا كنت بحاجة إلى البيانات الإضافية لأنه سيُبطئ وقت الاستجابة.
حصة المنشورات الشهرية
تعرض الاستجابة مقدار ما استُهلك من حصة المنشورات الشهرية للملف الشخصي:monthlyPostCount: المنشورات المحتسبة من الحصة هذا الشهر.monthlyPostQuota: الحد الشهري. يُحذف عندما تكون الحصة 10,000 أو أكثر، على سبيل المثال في خطط Business. ويظل الحد مطبقًا.
monthlyApiCalls عدّاد مختلف وليس حصة المنشورات. راجع ما هو الحد المسموح به من المنشورات ومكالمات API؟ لمعرفة ما يُحتسب وما يحدث عند نفاد الحصة.
curl \
-H "Authorization: Bearer API_KEY" \
-X GET https://api.ayrshare.com/api/user
const API_KEY = "API_KEY";
fetch("https://api.ayrshare.com/api/user", {
method: "GET",
headers: {
"Authorization": `Bearer ${API_KEY}`
}
})
.then((res) => res.json())
.then((json) => console.log(json))
.catch(console.error);
import requests
headers = {'Authorization': 'Bearer API_KEY'}
r = requests.get('https://api.ayrshare.com/api/user', headers=headers)
print(r.json())
$apiUrl = 'https://api.ayrshare.com/api/user';
$apiKey = 'API_KEY'; // Replace 'API_KEY' with your actual API key
$headers = [
'Content-Type: application/json',
'Authorization: Bearer ' . $apiKey,
];
$curl = curl_init($apiUrl);
curl_setopt_array($curl, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => $headers
]);
$response = curl_exec($curl);
if ($response === false) {
echo 'Curl error: ' . curl_error($curl);
} else {
echo json_encode(json_decode($response), JSON_PRETTY_PRINT);
}
curl_close($curl);
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace UserGETRequest_csharp
{
class User
{
static async Task Main(string[] args)
{
string API_KEY = "API_KEY";
string url = "https://api.ayrshare.com/api/user";
using (var client = new HttpClient())
{
client.DefaultRequestHeaders.Add("Authorization", "Bearer " + API_KEY);
try
{
HttpResponseMessage response = await client.GetAsync(url);
response.EnsureSuccessStatusCode();
string responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
}
catch (HttpRequestException e)
{
Console.WriteLine($"Error: {e.Message}");
}
}
}
}
}
{
"activeSocialAccounts": [
"bluesky",
"facebook",
"gmb",
"instagram",
"linkedin",
"pinterest",
"reddit",
"snapchat",
"telegram",
"threads",
"tiktok",
"twitter",
"youtube"
],
"created": {
"_seconds": 1667351022,
"_nanoseconds": 814000000,
"utc": "2022-11-02T01:03:42Z"
},
"displayNames": [
{ // Bluesky
"created": "2025-01-06T21:30:19.756Z",
"description": "Ayrshare's Social APIs provide the core infrastructure for social media posting, management, and analytics.",
"displayName": "Ayrshare",
"id": "did:plc:62musrcyanhro2lydyhl",
"platform": "bluesky",
"userImage": "https://cdn.bsky.app/img/avatar/plain/did:plc:62musrcyanhro2lydyhlw7ci/bafkreie",
"username": "ayrshare.com"
},
{ // Facebook
"created": "2022-11-14T16:18:49.110Z",
"displayName": "Ayrshare",
"id": "106638152329",
"messagingActive": true,
"pageName": "Ayrshare",
"platform": "facebook",
"profileUrl": "https://www.facebook.com/ayrshare",
"userId": "283748192833",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/facebook.jpeg"
},
{ // Google Business Profile
"created": "2024-03-27T20:47:46.251Z",
"description": "Easy to integrate Social Media APIs allow you to manage all your users' social accounts right from your product. Post, Auto Schedule, and Analytics. Great for SaaS, CMS, DAM, Agencies, and Apps.",
"displayName": "Ayrshare",
"mapsUrl": "https://maps.google.com/maps?cid=5229466225881728772",
"placeId": "ChIJN53jw8BZwokRBEeVVtPLkkg",
"platform": "gmb",
"profileUrl": "https://www.ayrshare.com/",
"reviewUrl": "https://search.google.com/local/writereview?placeid=ChIJN53jw8BZwokRBEeVVtPLkkg"
},
{ // Instagram
"created": "2022-11-09T20:36:58.659Z",
"displayName": "Ayrshare",
"id": "1784144322",
"igId": "62938492293422",
"messagingActive": true,
"pageName": "Social Media API",
"platform": "instagram",
"profileUrl": "https://www.instagram.com/ayrshare",
"type": "business",
"usedQuota": 34,
"userId": "2938492293422",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/instagram.jpeg",
"username": "ayrshare",
"type": "business",
"usedQuota": 20
},
{ // LinkedIn
"created": "2022-11-17T18:52:29.830Z",
"displayName": "Ayrshare",
"id": "72157",
"platform": "linkedin",
"profileUrl": "https://www.linkedin.com/company/ayrshare",
"refreshDaysRemaining": 364,
"refreshRequired": "2023-11-17T18:52:29.830Z",
"type": "corporate",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/linkedin.jpeg",
"username": "ayrshare"
},
{ // Pinterest
"created": "2022-12-06T03:16:52.642Z",
"displayName": "Ayrshare",
"id": "42995790741",
"platform": "pinterest",
"profileUrl": "https://www.pinterest.com/ayrshare",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/pinterest.jpeg",
"username": "ayrshare"
},
{ // Reddit
"created": "2022-11-17T18:55:34.419Z",
"displayName": "funone",
"platform": "reddit",
"profileUrl": "https://www.reddit.com/user/funone",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/reddit.png",
"username": "funone"
},
{ // Snapchat
"created": "2025-05-19T19:23:40.925Z",
"displayName": "ayrshare",
"id": "43548e97-edf1-44f9-984a-0a384703333",
"platform": "snapchat",
"profileUrl": "https://www.snapchat.com/add/username",
"userImage": "https://img.ayrshare.com/EuMQpMIgcPZYuwHnWeVBCXyftb52/social/snapchat",
"username": "ayrshare"
},
{ // Telegram
"created": "2022-11-17T18:55:16.320Z",
"displayName": "Ayrshare",
"id": -10017122,
"platform": "telegram",
"profileUrl": "https://web.telegram.org/z/#-17122",
"type": "channel",
"userImage": "https://img.ayrshare.com/nclMLxaIzmXHxOi4KEggA5gQ1T82/social/telegram.octo-stream"
},
{ // Threads
"created": "2025-04-24T20:26:28.311Z",
"displayName": "Ayrshare",
"id": "9273292656113202",
"isEligibleForGeoRestrictions": false,
"isVerified": false,
"platform": "threads",
"profileUrl": "https://www.threads.com/@ayrshare",
"userImage": "https://scontent-dfw5-2.cdninstagram.com/v/t51.2885-15/357665262",
"username": "ayrshare"
},
{ // TikTok
"created": "2022-11-02T02:11:53.452Z",
"displayName": "Ayrshare",
"id": "5ebc6f39-7900-421e-bf9",
"platform": "tiktok",
"profileUrl": "https://www.tiktok.com/@ayrshare",
"refreshDaysRemaining": 234,
"refreshRequired": "2026-04-24T15:25:32.344Z",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/tiktok.jpeg",
"username": "@ayrshare"
},
{ // Twitter
"created": "2022-11-02T01:38:42.326Z",
"displayName": "ayrshare",
"id": "1194881472",
"messagingActive": true,
"platform": "twitter",
"profileUrl": "https://twitter.com/ayrshare",
"subscriptionType": "Premium",
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/twitter.png",
"username": "ayrshare",
"verifiedType": "blue"
},
{ // YouTube
"channelId": "UCcMBjBksQnhCn5NNLtGKphw", // YouTube channel ID (starts with "UC") — different from "id" below
"channelTitle": "Ayrshare", // The channel's actual title
"created": "2022-11-17T18:54:09.954Z",
"displayName": "Kenneth Chen", // The connected Google account holder's name — NOT the channel title
"handle": "@ayrshare", // The @handle — omitted when the channel has no custom URL
"id": "106891058521430758565", // Google account ID — different from "channelId"
"platform": "youtube",
"profileUrl": "https://www.youtube.com/@ayrshare", // Falls back to https://www.youtube.com/channel/<channelId> when the channel has no custom URL
"userImage": "https://img.ayrshare.com/ndfdfJ239s/social/youtube.png",
"username": "Kenneth Chen" // The connected Google account holder's name — NOT the channel title
}
],
"email": "me@ayrshare.com",
"lastApiCall": "2024-08-14T15:18:11Z",
"messagingConversationMonthlyCount": 7,
"messagingEnabled": true,
"monthlyApiCalls": 120,
"monthlyPostCount": 49,
"monthlyPostQuota": 500,
"refId": "13a9da9e0df1183a7a6a1fc2c60b8023fa9a32a0",
"title": "Primary Profile",
"lastUpdated": "2024-01-04T15:51:17.775Z", // وقت إنشاء لقطة التخزين المؤقت هذه
"nextUpdate": "2024-01-04T15:52:17.775Z" // وقت انتهاء صلاحية التخزين المؤقت. ليست إشارة جاهزية — راجع قسم تخزين الاستجابة مؤقتًا أعلاه
}
{
"action": "post",
"status": "error",
"code": 144,
"message": "Some profiles not found. Please verify the Profile Keys."
}