Skip to main content
POST
/
api
/
public
/
organizations
/
{orgId}
/
members
Invite a member
curl --request POST \
  --url https://charts.basedash.com/api/public/organizations/{orgId}/members \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "role": "MEMBER"
}
'
{
  "data": {
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "deactivatedAt": "2023-11-07T05:31:56Z",
    "userId": "<string>",
    "organizationId": "<string>",
    "user": {
      "id": "<string>",
      "fullName": "<string>",
      "avatarUrl": "<string>",
      "email": "<string>",
      "isEmailVerified": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "firstName": "<string>",
      "title": "<string>"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://basedash.com/docs/llms.txt

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

Authorizations

Authorization
string
header
required

API key authentication using Bearer token format: Bearer <basedash_api_key>

Path Parameters

orgId
string
required

Organization ID

Body

application/json
email
string<email>
required

Email address of the user to invite

role
default:MEMBER

Role to assign to the invited member

Available options:
MEMBER

Response

Member invited successfully

data
object
required