Skip to main content
POST
/
v2
/
orgs
/
{orgSlug}
/
members
cURL
curl --request POST \
  --url https://api.eda.prisme.ai/v2/orgs/{orgSlug}/members \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userIds": [
    "<string>"
  ],
  "emails": [
    "<string>"
  ],
  "roleSlug": "<string>"
}
'
[
  {
    "orgSlug": "<string>",
    "userId": "<string>",
    "status": "active",
    "id": "<string>",
    "roleSlug": "<string>",
    "invitedBy": "<string>",
    "invitedAt": "<string>",
    "inviteEmail": "<string>",
    "inviteToken": "<string>",
    "joinedAt": "<string>",
    "joinedVia": "direct",
    "groups": [
      "<string>"
    ],
    "createdBy": "<string>",
    "updatedBy": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgSlug
string
required

Body

application/json
userIds
string[]
emails
string[]
roleSlug
string

Response

Members added

orgSlug
string
required
userId
string
required
status
enum<string>
required
Available options:
active,
invited,
suspended
id
string
roleSlug
string
invitedBy
string
invitedAt
string
inviteEmail
string
inviteToken
string
joinedAt
string
joinedVia
enum<string>
Available options:
direct,
invite-code,
invite-email,
auto-join,
join-rule
groups
string[]

Org group slugs the user belongs to. Only populated on listOrgMembers when includeGroups=true.

createdBy
string
updatedBy
string
createdAt
string
updatedAt
string