मुख्य सामग्री पर जाएं
POST
अपने Primary Profile के तहत एक नया profile बनाएँ। User Profile के सफल निर्माण पर, API प्रतिक्रिया में नए बनाए गए profile से जुड़ी Profile Key शामिल होगी। Profile Key को अपने सिस्टम में सुरक्षित रूप से store करें, क्योंकि यह आपके user की ओर से API कॉल करने के लिए आवश्यक होगी। कृपया ध्यान दें कि सुरक्षा कारणों से, Profile Keys केवल दो विशिष्ट मामलों में लौटाई जाती हैं:
  1. User Profile निर्माण: जब एक नया User Profile बनाया जाता है।
  2. Ayrshare Dashboard में: आप Ayrshare Dashboard के भीतर प्रत्येक profile के लिए Profile Key पा सकते हैं। User Profile पर स्विच करें और फिर Profile Key पेज पर navigate करें।
हम अनुशंसा करते हैं कि आप Profile Key को अपने सिस्टम में सुरक्षित रूप से store करें।

Social Networks का प्रबंधन

Display से social networks को प्रबंधित (जोड़ने/हटाने) करने के लिए disableSocial फ़ील्ड का उपयोग करें। अधिक जानकारी के लिए कृपया Manage Social Accounts देखें।

सक्रिय User Profiles प्रबंधित करें

सक्रिय User Profiles प्रबंधित करने के लिए कुछ अनुशंसाओं के लिए कृपया यहाँ देखें।

महत्वपूर्ण सुरक्षा विचार

  • Profile Keys को सार्वजनिक रूप से साझा करने या उन्हें client-side कोड या सार्वजनिक repositories में उजागर करने से बचें।
  • Profile Keys संवेदनशील credentials हैं जो User Profiles तक पहुँच को authenticate और authorize करने के लिए उपयोग किए जाते हैं।
  • अपने users के डेटा की अखंडता और गोपनीयता बनाए रखने के लिए Profile Keys को उचित access controls के साथ अपने सिस्टम में सुरक्षित रूप से store करना महत्वपूर्ण है।
  • सुरक्षा कारणों से, Profile Key को API का उपयोग करके दोबारा प्राप्त नहीं किया जा सकता। हालाँकि, आप dashboard से Profile Key प्राप्त कर सकते हैं।
  • refId को भी profile को endpoint return से जोड़ने के लिए store किया जाना चाहिए।

Header Parameters

Body Parameters

title
string
आवश्यक
नए profile का शीर्षक। अद्वितीय होना चाहिए। यह शीर्षक social account linking पेज पर प्रदर्शित होगा।
messagingActive
boolean
डिफ़ॉल्ट:false
इस user profile के लिए messaging को सक्रिय करने के लिए true पर सेट करें। पहले आपके Ayrshare खाते के लिए messaging सक्षम होनी चाहिए।
hideTopHeader
boolean
डिफ़ॉल्ट:false
social accounts linkage पेज पर top header छिपाएँ।
केवल इस user profile के लिए social accounts linkage पेज पर कंपनी का लोगो छिपाएँ। अन्य profiles पर खाता-व्यापी लोगो अप्रभावित रहता है। शेष पर branding रखते हुए व्यक्तिगत partner profiles को white-label करने के लिए उपयोगी।
topHeader
string
social accounts linkage पेज पर header बदलें। यदि सेट नहीं किया गया है, तो प्रदर्शित होता है: “Social Accounts for “title” जहाँ “title” profile शीर्षक है।
disableSocial
array
Social networks का Array जो इस user के profile के लिए अक्षम हैं। Primary profile की अक्षम social networks की सूची को प्राथमिकता मिलती है।उपलब्ध नेटवर्क: bluesky, facebook, gmb, instagram, linkedin, pinterest, reddit, snapchat, telegram, threads, tiktok, twitter, और youtubeअधिक जानकारी के लिए social networks को सक्षम या अक्षम करना देखें।
team
boolean
डिफ़ॉल्ट:false
team: true सेट करके एक नया user profile team member के रूप में बनाएँ। email फ़ील्ड का उपयोग invite email भेजने के लिए किया जाएगा। आवश्यकताओं पर विवरण के लिए team member को आमंत्रित करना देखें।
email
string
एक वैध email पता जहाँ team member invite भेजा जाएगा। यदि team: true तो आवश्यक।
subHeader
string
social accounts linkage पेज पर sub header बदलें। वर्तमान में “Click an icon to link a social network” प्रदर्शित करता है। हटाने के लिए एक खाली स्ट्रिंग पर सेट करें।help link को बदलने का तरीका देखें।
tags
array
Strings के एक array का उपयोग करके user profiles को टैग करें। ये tags आपके user profiles को प्रभावी ढंग से वर्गीकृत और प्रबंधित करने के लिए एक आंतरिक संगठनात्मक टूल के रूप में कार्य करते हैं।