Invite Users to App
POST
https://deploygate.com/api/users/{OWNER_NAME}/platforms/{PLATFORM_TYPE}/apps/{APP_ID}/members
Individual users can invite other users to their own apps. (Organizations have a separate, dedicated API)
Path Params
Name | Type | Required | Description |
---|---|---|---|
OWNER_NAME | string | true | App owner's user name |
PLATFORM_TYPE | string | true | ios or android |
APP_ID | string | true | App's package name (Example: com.deploygate.android) |
Body
Name | Type | Required | Description |
---|---|---|---|
users | string | true | User name or email address. Use a comma (,) to add additional user names or email addresses. |
role | string | true | Specify "1" to add as a developer (Only for Old Free/Lite/Pro/Biz Plans) or "2" to add as a tester. |
Example
curl \
--url "https://deploygate.com/api/users/${OWNER_NAME}/platforms/${PLATFORM_TYPE}/apps/${APP_ID}/members" \
-H "Authorization: Bearer ${TOKEN}" \
-X GET
Result 200
{
"error": false,
"results": {
"invite": "member invite success",
"added": [
{
"name": "existing_user",
"role": 2
}
],
"invited": [
{
"email": "new_user@example.com"
}
]
}
}