Skip to main content

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

NameTypeRequiredDescription
OWNER_NAMEstringtrueApp owner's user name
PLATFORM_TYPEstringtrueios or android
APP_IDstringtrueApp's package name (Example: com.deploygate.android)

Body

NameTypeRequiredDescription
usersstringtrueUser name or email address. Use a comma (,) to add additional user names or email addresses.
rolestringtrueSpecify "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"
}
]
}
}