List groups
Gets a paginated list of all user groups in a Canva team.
You can use the startIndex
and count
parameters to control the pagination of the response.
You can also provide a filter
parameter to narrow down the groups returned to only include those matching the filter.
HTTP method and URL path
https://www.canva.com /_scim /v2 /Groups
Header parameters
Query parameters
Used to paginate the response: the index of the first result to return.
Used to paginate the response: the number of results to return. Must be between 1
and 10
.
A filter to narrow down the results returned, using the equals (eq
) query parameter. The following filters are supported:
-
Return the group matching the SCIM
displayName
value:displayName eq "{display_name}"
.For example:
GET /_scim/v2/Groups?filter=displayName%20eq%20"White rabbits"
Example request
Examples for using the /_scim/v2/Groups
endpoint:
curl --request GET 'https://www.canva.com/_scim/v2/Groups' \--header 'Authorization: Bearer {token}'
Success response
If successful, the endpoint returns a 200
response with a JSON body with the following parameters:
The value for this can only be urn:ietf:params:scim:api:messages:2.0:ListResponse
.
The total number of results matching the query.
The index of the first result.
The number of results returned in the current page.
An array of the groups returned in the current page of results.
Properties of resources
The value for this can only be urn:ietf:params:scim:schemas:core:2.0:Group
.
The Canva-generated SCIM ID for the group.
The name of the group, suitable for display to end-users.
Example response
{"schemas": ["urn:ietf:params:scim:api:messages:2.0:ListResponse"],"totalResults": 1,"startIndex": 1,"itemsPerPage": 10,"resources": [{"schemas": ["urn:ietf:params:scim:schemas:core:2.0:Group"],"id": "UAFgrpb1abC","meta": {"resourceType": "Group","created": "2023-09-18T06:08:35Z"},"displayName": "White rabbits","members": []}]}
Error responses
403 Forbidden
The value for this can only be urn:ietf:params:scim:api:messages:2.0:Error
.
The value for this can only be Unsupported filter field
.
The HTTP status code of the error.
Example error response
{"schemas": ["urn:ietf:params:scim:api:messages:2.0:Error"],"detail": "Unsupported filter field","status": "403"}