Skip to main content
POST
/
users
Invite a manager or collaborator
curl --request POST \
  --url https://api.juicer.io/v1/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "feed_ids": [
    123
  ],
  "skip_invitation_email": false
}
'
{
  "data": {
    "id": 123,
    "email": "jsmith@example.com",
    "invitation_accepted": true,
    "invitation_pending": true,
    "feed_ids": [
      123
    ],
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.juicer.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key prefixed with jcr_. To obtain a key programmatically (no dashboard required), see POST /v1/authorize.

Body

application/json
email
string<email>
required
role
enum<string>
required
Available options:
manager,
collaborator
feed_ids
integer[]

Optional. When role is collaborator and feeds are provided, the collaborator is assigned to each feed on creation (all must belong to the current account). When omitted or empty, the collaborator is created without any assignments and feeds can be attached later. Ignored when role is manager.

skip_invitation_email
boolean
default:false

When true, Juicer does not email the invited user. This suppresses both the Devise invitation email and, for collaborators with feed_ids, the "new feed" notification. Use this when your application handles user onboarding/notifications itself and the end-user should not be aware of Juicer as a separate product.

Response

User invited

data
object