API → OrgsAdd a member to your org

Parameters

Name

Type

Req.

  • bodyapplication/json

    object
    optional
    Object Properties
    • email

      string / Email Address
      optional
    • role

      string
      optional
      Possible values
      • admin:  Admins can do anything in the org.
      • member:  Members of an org can not modify an org, but they belong in the org.

Returns

  • 201 Created

    successful creation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
    • company

      string
      optional
    • created_at

      string / ISO-8601
      optional
    • discord

      string
      optional
    • email

      string / Email Address
      optional
    • email_verified

      string / ISO-8601
      optional
    • first_name

      string
      optional
    • github

      string
      optional
    • id

      string / UUID
      optional
    • image

      string / URL
      optional
    • last_name

      string
      optional
    • name

      string
      optional
    • phone

      string / Phone Number
      optional
    • role

      string
      optional
      Possible values
      • admin:  Admins can do anything in the org.
      • member:  Members of an org can not modify an org, but they belong in the org.
      • service_account:  A service account role.
    • updated_at

      string / ISO-8601
      optional
post
/org/members
$ curl -X POST "https://api.zoo.dev/org/members" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "email": "3Pk1p1SAw@x.com",
  "role": "member"
}'
201 Created
Response
{
  "company": "d",
  "created_at": "2024-07-19T17:28:24.404Z",
  "discord": "gOXSxBWZ2nKzYajDO8vjV5gi",
  "email": "@UF4.com",
  "email_verified": "2024-07-19T17:28:24.404Z",
  "first_name": "uZ",
  "github": "7OlWuB03k",
  "id": "2fb94746-bb01-48ff-86bd-7223685d8f3d",
  "image": "https://ZNF9.15Px.com/hCNQ6y/YeZsv7SGQp",
  "last_name": "8Y3OSBX0BMoih3",
  "name": "5pTYK50nI3q",
  "phone": "+1-121-109-1927",
  "role": "admin",
  "updated_at": "2024-07-19T17:28:24.404Z"
}