POST /users/invite
Sends an invite to users given their IDs and sends a push notification to their iOS device (if available).
- A JWT for a registered user must be supplied in the Authorization field of the request header.
- The token must be supplied in the format
JWT 'token'
- users: [ObjectID] (required)
- date: String (required)
- Code: 200 OK
- Content: A success flag and the Invite object
- 400 Bad Request – userID not of type ObjectID
- 401 Unauthorized – no/invalid JWT provided
- 404 Not Found – user does not exist