# appstore_invite_testers

> ईमेल से लोगों को किसी TestFlight group में आमंत्रित करें और हर पते के लिए देखें कि उन्हें आमंत्रित किया गया, जोड़ा गया या ठुकराया गया।

Source: https://air.build/hi/docs/mcp-tools/appstore_invite_testers/

ईमेल से लोगों को किसी TestFlight group में जोड़ता है। group में build आते ही Apple हर व्यक्ति को निमंत्रण ईमेल करता है। जो पहले से कहीं और ऐप का tester है, उसे इस group में वैसे ही जोड़ दिया जाता है। internal groups सिर्फ़ Apple team के अपने App Store Connect users को स्वीकार करते हैं; Apple बाकी सबको ठुकरा देता है।

हर व्यक्ति को अलग से संभाला जाता है, और नतीजा बताता है कि हर एक के साथ क्या हुआ। एक अपवाद: अगर Apple किसी ऐसे व्यक्ति को जोड़ने से मना करे जो पहले से ऐप का tester है, तो पूरा कॉल फ़ेल हो जाता है, हालाँकि सूची में पहले आए लोगों को आमंत्रण जा चुका होता है।

| रीड-ओनली | डिस्ट्रक्टिव | आइडेम्पोटेंट |
| --- | --- | --- |
| नहीं | नहीं | हाँ |

## इनपुट

| इनपुट | टाइप | ज़रूरी | डिफ़ॉल्ट | यह क्या करता है |
| --- | --- | --- | --- | --- |
| `teamId` | string (UUID) | हाँ | — | टीम, [list_teams](https://air.build/hi/docs/mcp-tools/list_teams/) से। |
| `projectId` | string (UUID) | यह या `appId` | — | वह प्रोजेक्ट जिसका यह ऐप है, [list_projects](https://air.build/hi/docs/mcp-tools/list_projects/) से: ऐप बताने का सामान्य तरीका। ऐप App Store Connect पर वह ऐप है जिसका bundle id वही है जो प्रोजेक्ट build करता है। दोनों भेजे जाएँ तो `projectId` इस्तेमाल होता है। |
| `appId` | string | यह या `projectId` | — | [appstore_list_apps](https://air.build/hi/docs/mcp-tools/appstore_list_apps/) से App Store Connect app id, ऐसे ऐप के लिए जिसे कोई प्रोजेक्ट build नहीं करता। |
| `appleTeamId` | string (UUID) | नहीं | हर कनेक्ट की गई Apple team | टीम की Apple teams में से एक, [appstore_list_apple_teams](https://air.build/hi/docs/mcp-tools/appstore_list_apple_teams/) से। `appId` के साथ ऐप सिर्फ़ इसी Apple team में खोजा जाता है। `projectId` के साथ इसकी ज़रूरत नहीं: प्रोजेक्ट का ऐप तय करता है। |
| `group` | string | हाँ | — | group का नाम या `groupId`, [appstore_list_beta_groups](https://air.build/hi/docs/mcp-tools/appstore_list_beta_groups/) से। |
| `testers` | 1 से 50 ऑब्जेक्ट की array | हाँ | — | जोड़े जाने वाले लोग। |
| `testers[].email` | string (email) | हाँ | — | उनका ईमेल पता। |
| `testers[].firstName` | string | नहीं | — | उनका पहला नाम। |
| `testers[].lastName` | string | नहीं | — | उनका उपनाम। |

हर टूल अपने इनपुट पर जो जाँच करता है, वे [सर्वर और साइन इन](https://air.build/hi/docs/mcp-tools/server/#errors) पर हैं।

## नतीजा

JSON ऑब्जेक्ट, टेक्स्ट के रूप में और `structuredContent` के रूप में।

| फ़ील्ड | मतलब |
| --- | --- |
| `group` | group (फ़ील्ड [appstore_list_beta_groups](https://air.build/hi/docs/mcp-tools/appstore_list_beta_groups/#result) जैसे) |
| `testers[].email` | भेजा गया पता |
| `testers[].result` | `invited` (नया tester), `added` (मौजूदा tester जिसे group में जोड़ा गया), या वह वाक्य जिससे Apple ने इस व्यक्ति को ठुकराया |

```json
{
  "group": {
    "groupId": "00000000-0000-0000-0000-000000000000",
    "name": "Friends",
    "kind": "external",
    "allBuilds": false,
    "publicLink": "https://testflight.apple.com/join/XXXXXXXX",
    "publicLinkLimit": 100,
    "feedback": true
  },
  "testers": [
    {
      "email": "tester@example.com",
      "result": "invited"
    },
    {
      "email": "friend@example.com",
      "result": "added"
    }
  ]
}
```

## त्रुटियाँ

हर एक tool error (`isError: true`) के रूप में लौटता है। _इटैलिक_ शब्द वाक्य के मानों की जगह हैं। हर टूल जो त्रुटियाँ लौटा सकता है, वे [सर्वर और साइन इन](https://air.build/hi/docs/mcp-tools/server/#errors) पर हैं।

| संदेश | कब | क्या करें |
| --- | --- | --- |
| testers must list at least one email. | `testers` खाली है या सूची नहीं है | कम से कम एक tester भेजें |
| No TestFlight group "_group_". The app's groups: _names_. | ऐप के किसी group का यह नाम (case से फ़र्क नहीं पड़ता) या `groupId` नहीं है। कोई group न हो तो सूची में लिखा आता है "none — create one with appstore_create_beta_group" | वाक्य से या [appstore_list_beta_groups](https://air.build/hi/docs/mcp-tools/appstore_list_beta_groups/) से कोई नाम इस्तेमाल करें |
| Pass projectId, or appId from appstore_list_apps. | न `projectId` भेजा गया, न `appId` | इनमें से एक भेजें |
| This Project has not been built for iOS yet, so it has no bundle id to find its app by. Ask the Team's Agent to build it, or pass appId. | प्रोजेक्ट कभी iOS के लिए build नहीं हुआ | प्रोजेक्ट के एजेंट से iOS build माँगें ([send_message](https://air.build/hi/docs/mcp-tools/send_message/)), या ऐप को `appId` से बताएँ |
| This Project has no app on App Store Connect yet. Create one with appstore_create_app (its bundle id is the Project's), or pass appId. | टीम की कनेक्ट की गई Apple teams में किसी ऐप का bundle id प्रोजेक्ट वाला नहीं है, या कोई Apple team कनेक्ट नहीं है | [appstore_create_app](https://air.build/hi/docs/mcp-tools/appstore_create_app/) से ऐप बनाएँ, या `appId` से कोई दूसरा ऐप बताएँ |
| No connected Apple team of this Team has that app. See appstore_list_apps. | `appId` किसी कनेक्ट की गई Apple team (या `appleTeamId`) का ऐप नहीं है | id [appstore_list_apps](https://air.build/hi/docs/mcp-tools/appstore_list_apps/) से लें |
| App Store Connect: _Apple's sentence_ | Apple ने अनुरोध ठुकरा दिया। इसके बाद Apple के अपने अधिकतम पाँच वाक्य आते हैं, हर वाक्य के साथ ब्रैकेट में वह फ़ील्ड जिसके बारे में वह है, जब Apple उसका नाम बताता है। App Store Connect में इंतज़ार कर रहा Apple agreement भी इसी तरह ठुकराया जाता है | Apple के शब्दों के अनुसार काम करें। Agreements को Apple Developer अकाउंट का Account Holder App Store Connect में स्वीकार करता है (Business › Agreements) |
| App Store Connect answered _status_. Try again in a moment. | Apple ने बिना वजह बताए ठुकरा दिया | थोड़ी देर में फिर कोशिश करें |

## उदाहरण

```json
{
  "name": "appstore_invite_testers",
  "arguments": {
    "teamId": "00000000-0000-0000-0000-000000000000",
    "projectId": "00000000-0000-0000-0000-000000000000",
    "group": "Friends",
    "testers": [
      {
        "email": "tester@example.com",
        "firstName": "Alex"
      }
    ]
  }
}
```
