Endpoints for managing the business's signer/observer groups and their membership.
A group carries no role. Members must be active users of the business; an invited user can join only after accepting the invitation.
Groups can be managed by hand in the Skribble admin area, through
this API, or by a connected identity provider. All of them change
the same groups. Set external_id to the group's id in your
directory to find the group again with
GET /groups?external_id={external_id}. After a group is deleted,
its name and external_id can be used again.
Groups are a separate feature of the business. If it is not
enabled, creating a group, updating a group and adding a member
return 400 price_plan_not_allowed. Reading, listing, deleting
and removing members still work. Limits on the number of groups
and on the members per group apply per business; only active
groups count.
List Groups
Lists the business's signer/observer groups, paginated. No embedded member lists.
query Parameters
pageper_pagenameExact match on the group name, ignoring case. Group names are unique per business, so the result holds at most one group.
external_idExact match on the external reference ID. External IDs are unique per business, so the result holds at most one group. Combined with name, the group must match both. No match returns an empty list. A blank value returns 400.
List Groups › Responses
OK
Create a Group
Creates a group, empty or with the members given in members. Add or remove members later via /groups/{id}/members.
Create a Group › Request Body
nameUnique per business. The comparison ignores case.
external_idCaller-supplied identifier (e.g. an IdP group ID). Unique per business when set.
membersOptional. User ids of active users of the business to add as members when the group is created. An invited user who has not accepted yet returns 409 with invitation_pending, and the message names that user id. Any other id that is not an active user of the business, such as an unknown id or a user of another business, returns 404. The limit on members per group applies.
Create a Group › Responses
Created
idstatusnamemembers_countexternal_idCaller-supplied identifier (e.g. an IdP group ID). Unique per business when set.
created_atupdated_atcreated_byWho created the group: a user id, an API key's username, or service-account-<client-id> when a connected identity provider created it. When the creator is not a user, created_by_first_name, created_by_last_name and created_by_email are null.
updated_byWho last updated the group, in the same format as created_by.
version_idOpaque identifier for the group's current member-list version.
created_by_first_namecreated_by_last_namecreated_by_emailThe group's members. Present only with include_members=true.
Get a Group
Reads a single group.
A deleted group, or one belonging to another business, is reported the
same as one that never existed: 404.
path Parameters
idThe group's system id.
query Parameters
include_membersSet to true to also return the group's members in members. The list is not paginated. For large groups, use GET /groups/{id}/members instead.
Get a Group › Responses
OK
idstatusnamemembers_countexternal_idCaller-supplied identifier (e.g. an IdP group ID). Unique per business when set.
created_atupdated_atcreated_byWho created the group: a user id, an API key's username, or service-account-<client-id> when a connected identity provider created it. When the creator is not a user, created_by_first_name, created_by_last_name and created_by_email are null.
updated_byWho last updated the group, in the same format as created_by.
version_idOpaque identifier for the group's current member-list version.
created_by_first_namecreated_by_last_namecreated_by_emailThe group's members. Present only with include_members=true.
Update a Group
Updates the group's name, its external ID, or both; at least one is required, and only the given fields change. Group membership is managed via the members endpoints.
path Parameters
idThe group's system id.
Update a Group › Request Body
nameexternal_idCaller-supplied identifier (e.g. an IdP group ID). Unique per business when set.
Update a Group › Responses
OK
idstatusnamemembers_countexternal_idCaller-supplied identifier (e.g. an IdP group ID). Unique per business when set.
created_atupdated_atcreated_byWho created the group: a user id, an API key's username, or service-account-<client-id> when a connected identity provider created it. When the creator is not a user, created_by_first_name, created_by_last_name and created_by_email are null.
updated_byWho last updated the group, in the same format as created_by.
version_idOpaque identifier for the group's current member-list version.
created_by_first_namecreated_by_last_namecreated_by_emailThe group's members. Present only with include_members=true.
Add a Group member
Adds an existing business member to the group, identified by email or user_id. Returns 404 if the group doesn't exist, or if the given user isn't already a member of this business. Returns 409 if the user is already a member of the group; the user is in the group either way, so a client can treat that 409 as success, including when it retries a request whose response it didn't receive. Also returns 409 if the user has a pending invitation to the business: they can be added to groups only after accepting it.
path Parameters
idThe group's system id.
Add a Group member › Request Body
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: email | |
| type = object · requires: user_id |
emailAdd a Group member › Responses
Created
idemailfirst_namelast_namestatusThe member's account status, for example active or suspended. Left out when unknown.
Remove a Group member
Removes a member from the group. The member is identified in the path, not the body. Removing a user who isn't a member of the group is a no-op and returns 200.
path Parameters
idThe group's system id.
user_idThe id of the member to remove from the group.
Remove a Group member › Responses
OK
