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": "@n2XFBQM.com",
"role": "admin"
}'
201 Created
Response{
"company": "TwIBXVbybVJz46AChNTj1qQkZC5",
"created_at": "2024-09-07T21:56:52.062Z",
"discord": "OhkgYh4njRX",
"email": "@9.com",
"email_verified": "2024-09-07T21:56:52.062Z",
"first_name": "MuTo",
"github": "nvcMs3B6GFHd",
"id": "5587875a-caca-4e64-9ff5-64e68387ca01",
"image": "https://sdeZ2g.0aT1F.com/uevy0r9S7C/DWsFqvKQBij",
"last_name": "vrtwzT9eZ",
"name": "kk6ynG5n5bvgrlWNpYAXIJnBz",
"phone": "+1-549-483-2523",
"role": "member",
"updated_at": "2024-09-07T21:56:52.062Z"
}