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": "yaCv@JfzhPgb.com",
  "role": "member"
}'
201 Created
Response
{
  "company": "VJBhBKvR22t6uuAA",
  "created_at": "2025-04-21T20:01:29.357Z",
  "discord": "Tfwfef95ZNqCrlL8AXWw",
  "email": "ePx9@SeCWGuGN.com",
  "email_verified": "2025-04-21T20:01:29.357Z",
  "first_name": "ETRN1R5yFMcDiYyFgWy3G9sJ5I5JW",
  "github": "U",
  "id": "7359495a-09a8-4e30-a604-2895a68ceac8",
  "image": "https://NQ6sMCAvgjln.8D5.com/OroXkqw9d4tT/vVU8g",
  "last_name": "oad5TuPN2VMiVK4UGrTJBL",
  "name": "YpCxsNa7AO2lM1xNx",
  "phone": "+1-324-422-9886",
  "role": "service_account",
  "updated_at": "2025-04-21T20:01:29.357Z"
}