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": "xoDay9tQX@1wZ.com",
"role": "admin"
}'
201 Created
Response{
"company": "159V6yT",
"created_at": "2024-09-19T16:12:04.699Z",
"discord": "ccCgNJZObFdANAMPIp0w4jEJ",
"email": "dsYfVkT7y@IUug.com",
"email_verified": "2024-09-19T16:12:04.699Z",
"first_name": "HKpoHdn6LDQyI1KX7yc5PkdbE9M",
"github": "LZlmWQwRTWQm446gNhl5dce8rAE",
"id": "7bef52f8-1334-4e8d-8af1-71131960772a",
"image": "https://Or1DwlT..com/s1/diT",
"last_name": "mYmqLwEIXyzWex3gthsqz",
"name": "ZjtcTt4inYLrJNpi6xNjYu",
"phone": "+1-829-976-7803",
"role": "admin",
"updated_at": "2024-09-19T16:12:04.699Z"
}