curl -H "X-Auth-Token: $API_KEY" https://api.glassfrog.com/api/v3/people
curl -H "X-Auth-Token: $API_KEY" https://api.glassfrog.com/api/v3/people/$PERSON_ID
curl -H "X-Auth-Token: $API_KEY" https://api.glassfrog.com/api/v3/people?circle_id=$CIRCLE_ID
OR
curl -H "X-Auth-Token: $API_KEY" https://api.glassfrog.com/api/v3/circles/$CIRCLE_ID/people
The API supports retrieving all role-fillers of core roles in the organization.
curl -H "X-Auth-Token: $API_KEY" https://api.glassfrog.com/api/v3/people?role=secretary
curl -H "X-Auth-Token: $API_KEY" https://api.glassfrog.com/api/v3/people?role=rep_link
curl -H "X-Auth-Token: $API_KEY" https://api.glassfrog.com/api/v3/people?role=lead_link
curl -H "X-Auth-Token: $API_KEY" https://api.glassfrog.com/api/v3/people?role=facilitator
{
"people": [{
"id": 911230097,
"name": "Monica Wolfson",
"email": "monica@example.com",
"external_id": null
}, {
"id": 516784585,
"name": "Joyce Bilbrey",
"email": "joyce@example.com",
"external_id": null
}
}- external_id (optional): for client use for storing ids from systems outside of GlassFrog
curl -H "X-Auth-Token: $API_KEY" -X POST -d '{"people":[{ "name":"Sally Benally", "email":"sally@example.com" }]}' https://api.glassfrog.com/api/v3/people
A successful POST returns status 200 with the newly created resource in the body:
{
"people": [{
"id": 657190835,
"name": "Lawrence Copper",
"email": "lawrence@example.com",
"external_id": null
}]
}
Creating a Person through the API will email the new user with a welcome email and instructions for setting their password.
Only API_keys associated with accounts with admin permissions can add people to an organization.
- abc name (required): full name of the person
- abc email (required): email of the person
- abc external_id (optional): id of the person from any external system
curl -H "X-Auth-Token: $API_KEY" -X PATCH -d '[{ "op":"replace","path":"/people/0/name", "value":"Sally Martinez"}]' https://api.glassfrog.com/api/v3/people/$PERSON_ID
curl -H "X-Auth-Token: $API_KEY" -X PATCH -d '[{ "op":"replace","path":"/people/0/name", "value":"Sally Martinez"},{"op":"replace","path":"/people/0/email", "value":"sally.martinez@example.com"}]' https://api.glassfrog.com/api/v3/people/$PERSON_ID
Returns 204 No Content on success.
curl -H "X-Auth-Token: $API_KEY" -X DELETE https://api.glassfrog.com/api/v3/people/$PERSON_ID
returns 204 No Content on success.