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": "Fj8z@DZ2I3K1egq.com",
"role": "admin"
}'
201 Created
Response{
"company": "ufT",
"created_at": "2025-02-21T16:37:22.537Z",
"discord": "OEE6v6bt38VQVsBVQSL9OAGF0",
"email": "MR1RIGp@B.com",
"email_verified": "2025-02-21T16:37:22.537Z",
"first_name": "oxYTu8ZxGZn29vDhyGjKoyt1Rp",
"github": "8qadiqoxxP0n",
"id": "e6079f3f-bd60-4c88-a577-f86d75382861",
"image": "https://t0jty16Jm.2b7fXdGR0.com/p5OCBW/3I",
"last_name": "rUoVNY5kEZJpog254GV52T10kux",
"name": "rKQGF1BriuV",
"phone": "+1-263-674-5554",
"role": "service_account",
"updated_at": "2025-02-21T16:37:22.537Z"
}