API → Orgs → Add a member to your org
Parameters
Name
Type
Req.
Returns
- 201 Created
successful creation
Name
Type
Req.
body
objectoptionalObject Properties
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.
post
/org/members$ curl -X POST "https://api.zoo.dev/org/members" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"email": "4vx@HtP6u.com",
"role": "admin"
}'
201 Created
Response{
"company": "H7K1",
"created_at": "2025-01-17T16:13:11.446Z",
"discord": "sHOUGRU2",
"email": "@8lW.com",
"email_verified": "2025-01-17T16:13:11.447Z",
"first_name": "jaPzl",
"github": "TN0AObMShk1nDnzBrG9C48",
"id": "cb6852f0-732a-4dff-aafc-18d47f4ee7b6",
"image": "https://qVuEYDo.6FlzFFfxi.com/c5CSwuAS4/fYxsC",
"last_name": "FtvCoQs",
"name": "",
"phone": "+1-780-704-6003",
"role": "service_account",
"updated_at": "2025-01-17T16:13:11.447Z"
}