Add a collaborator to an app
const url = 'https://api.aetherpush.com/v1/apps/example/collaborators';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"email":"bob@example.com"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.aetherpush.com/v1/apps/example/collaborators \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "email": "bob@example.com" }'Adds an existing Aether account as a collaborator on the app. Requires the collaborators.manage permission (Owner or Admin). The target account must already be registered.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”object
Email of the account to add as collaborator.
Role to grant. Defaults to Developer when omitted. Owner can only be granted through an ownership transfer.
Example
{ "email": "bob@example.com"}Responses
Section titled “Responses”Collaborator added.
Email missing or invalid.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}Insufficient permissions (collaborators.manage required).
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}App not found, or target account does not exist.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}The account is already a collaborator on this app.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}