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": "88CQ@ytdccdN.com",
  "role": "admin"
}'
201 Created
Response
{
  "company": "yVggap3r6bDJ",
  "created_at": "2025-03-12T01:36:39.086Z",
  "discord": "Rg41slr",
  "email": "C7L@Cyj4.com",
  "email_verified": "2025-03-12T01:36:39.086Z",
  "first_name": "aM",
  "github": "h",
  "id": "70f49acf-3084-4779-9d4c-4dabcd5df50c",
  "image": "https://UIGh.wbwJodw.com/8irIgqnQDqKv/TmWrkXFpbCEr",
  "last_name": "otALtRXKQyxk",
  "name": "mORqXbEivhrWyeU4c",
  "phone": "+1-328-144-1845",
  "role": "member",
  "updated_at": "2025-03-12T01:36:39.086Z"
}