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": "9v3@KfDu3G3.com",
"role": "member"
}'
201 Created
Response{
"company": "YvEg",
"created_at": "2024-12-19T17:49:07.800Z",
"discord": "yK7GEU2Zt15Jw7ZW5O",
"email": "TR2G@gI2T9.com",
"email_verified": "2024-12-19T17:49:07.800Z",
"first_name": "iAqgVlzjFeb",
"github": "SWjazkGvMfxD9qnnVp",
"id": "a725d931-2359-4fa4-886c-a441bb5f6eea",
"image": "https://.2tQmKX36N1.com/DoK86MxwXyBN/rPbNLg",
"last_name": "x",
"name": "sI85VBbA2iRPRi",
"phone": "+1-131-768-2880",
"role": "service_account",
"updated_at": "2024-12-19T17:49:07.800Z"
}