Skribble
Skribble User Management API

Group

Server

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

GET
https://api.skribble.com/v3
/groups
Bearer (JWT)

Lists the business's signer/observer groups, paginated. No embedded member lists.

List Groups › query Parameters

page
​integer · min: 1
Default: 1
per_page
​integer · min: 1 · max: 200
Default: 50
name
​string

Exact match on the group name, ignoring case. Group names are unique per business, so the result holds at most one group.

external_id
​string

Exact 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

​Group[] · required
page
​integer · required
per_page
​integer · required
total
​integer · required

Create a Group

POST
https://api.skribble.com/v3
/groups
Bearer (JWT)

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

name
​string · required

Unique per business. The comparison ignores case.

external_id
​string

Caller-supplied identifier (e.g. an IdP group ID). Unique per business when set.

members
​string[]

Optional. 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

A signer/observer group belonging to the business.
id
​string · readOnly · required
status
​string · enum · readOnly · required
Enum values:
active
name
​string · required
members_count
​integer · readOnly · required
external_id
​string

Caller-supplied identifier (e.g. an IdP group ID). Unique per business when set.

created_at
​string · date-time · readOnly
updated_at
​string · date-time · readOnly
created_by
​string · readOnly

Who 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_by
​string · readOnly

Who last updated the group, in the same format as created_by.

version_id
​string · readOnly

Opaque identifier for the group's current member-list version.

created_by_first_name
​string | null · readOnly
created_by_last_name
​string | null · readOnly
created_by_email
​string | null · email · readOnly
​GroupMember[] · readOnly

The group's members. Present only with include_members=true.


Get a Group

GET
https://api.skribble.com/v3
/groups/{id}
Bearer (JWT)

Reads a single group. A deleted group, or one belonging to another business, is reported the same as one that never existed: 404.

Get a Group › path Parameters

id
​string · required

The group's system id.

Get a Group › query Parameters

include_members
​boolean

Set 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.

Default: false

Get a Group › Responses

OK

A signer/observer group belonging to the business.
id
​string · readOnly · required
status
​string · enum · readOnly · required
Enum values:
active
name
​string · required
members_count
​integer · readOnly · required
external_id
​string

Caller-supplied identifier (e.g. an IdP group ID). Unique per business when set.

created_at
​string · date-time · readOnly
updated_at
​string · date-time · readOnly
created_by
​string · readOnly

Who 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_by
​string · readOnly

Who last updated the group, in the same format as created_by.

version_id
​string · readOnly

Opaque identifier for the group's current member-list version.

created_by_first_name
​string | null · readOnly
created_by_last_name
​string | null · readOnly
created_by_email
​string | null · email · readOnly
​GroupMember[] · readOnly

The group's members. Present only with include_members=true.


Update a Group

PATCH
https://api.skribble.com/v3
/groups/{id}
Bearer (JWT)

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.

Update a Group › path Parameters

id
​string · required

The group's system id.

Update a Group › Request Body

The name, the external ID, or both; at least one must be non-null. Only the given fields change, and a `null` field keeps its current value, so an `external_id` can be changed but not removed. Other fields are ignored. Group membership is managed via the members endpoints.
name
​string
external_id
​string

Caller-supplied identifier (e.g. an IdP group ID). Unique per business when set.

Update a Group › Responses

OK

A signer/observer group belonging to the business.
id
​string · readOnly · required
status
​string · enum · readOnly · required
Enum values:
active
name
​string · required
members_count
​integer · readOnly · required
external_id
​string

Caller-supplied identifier (e.g. an IdP group ID). Unique per business when set.

created_at
​string · date-time · readOnly
updated_at
​string · date-time · readOnly
created_by
​string · readOnly

Who 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_by
​string · readOnly

Who last updated the group, in the same format as created_by.

version_id
​string · readOnly

Opaque identifier for the group's current member-list version.

created_by_first_name
​string | null · readOnly
created_by_last_name
​string | null · readOnly
created_by_email
​string | null · email · readOnly
​GroupMember[] · readOnly

The group's members. Present only with include_members=true.


Delete a Group

DELETE
https://api.skribble.com/v3
/groups/{id}
Bearer (JWT)

Deletes the group. It cannot be restored through the API, and any later request for this group returns 404. The group and its memberships are removed; the member users stay in the business.

Delete a Group › path Parameters

id
​string · required

The group's system id.

Delete a Group › Responses

OK

No data returned

List Group members

GET
https://api.skribble.com/v3
/groups/{id}/members
Bearer (JWT)

List Group members › path Parameters

id
​string · required

The group's system id.

List Group members › query Parameters

page
​integer · min: 1
Default: 1
per_page
​integer · min: 1 · max: 200
Default: 50

List Group members › Responses

OK

​GroupMember[] · required
page
​integer · required
per_page
​integer · required
total
​integer · required

Add a Group member

POST
https://api.skribble.com/v3
/groups/{id}/members
Bearer (JWT)

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.

Add a Group member › path Parameters

id
​string · required

The group's system id.

Add a Group member › Request Body

oneOf
Exactly one variant must match.

Decision Table

VariantMatching Criteria
type = object · requires: email
type = object · requires: user_id
Properties for By email:
email
​string · email · required

Add a Group member › Responses

Created

A business member's identity, as shown on a group's member list.
id
​string · required
email
​string · email · required
first_name
​string
last_name
​string
status
​string

The member's account status, for example active or suspended. Left out when unknown.


Remove a Group member

DELETE
https://api.skribble.com/v3
/groups/{id}/members/{user_id}
Bearer (JWT)

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.

Remove a Group member › path Parameters

id
​string · required

The group's system id.

user_id
​string · required

The id of the member to remove from the group.

Remove a Group member › Responses

OK

No data returned