Reference / Dashboard

invite a new dashboard member (owner, or admin inviting a member).

POST /v1/dashboard/team
End-user session operationId: invite_member

Authorization

Called from the browser with the publishable application id (x-application-id); the access token lives in memory.

Request body · required

  • email string required
  • name string
  • role string required

Responses

201 Member invited
{
  "data": {},
  "error": {
    "code": "string",
    "message": "string"
  },
  "meta": {
    "timestamp": "string"
  },
  "success": false
}
403 Insufficient role
409 Email already a member

Request

curl -X POST "http://localhost:8080/v1/dashboard/team" \
  -H "Content-Type: application/json" \
  -d '{
  "email": "string",
  "name": "string",
  "role": "string"
}'

Try it

live request
POST http://localhost:8080/v1/dashboard/team

Request body

application/json