Directory API
Retrieve a list of people or a specific person by ID, with optional filters for email, first name, last name, or external ID.
Optional ID of the person to retrieve.
Optional email to filter people.
Optional first name to filter people.
Optional last name to filter people.
Optional external ID to filter people.
Number of items to skip.
0
Maximum number of items to return.
25
Field by which to sort.
Sort order, 'asc' or 'desc'.
asc
Possible values: GET /directory/v1/people HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"people": [
{
"_id": "text",
"email": "text",
"first_name": "text",
"last_name": "text",
"external_id": "text"
}
],
"pagination": {
"current_results": {
"from": 1,
"to": 1
},
"total_results": 1
}
},
"identifier": "text"
}
Create multiple new people.
POST /directory/v1/people HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 89
{
"people": [
{
"email": "text",
"first_name": "text",
"last_name": "text",
"external_id": "text"
}
]
}
{
"success": true,
"data": {
"people": [
{
"_id": "text",
"email": "text",
"first_name": "text",
"last_name": "text",
"external_id": "text"
}
]
},
"identifier": "text"
}
Update multiple existing people.
PUT /directory/v1/people HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 102
{
"people": [
{
"_id": "text",
"email": "text",
"first_name": "text",
"last_name": "text",
"external_id": "text"
}
]
}
{
"success": true,
"data": {
"people": [
{
"_id": "text",
"email": "text",
"first_name": "text",
"last_name": "text",
"external_id": "text"
}
]
},
"identifier": "text"
}
Delete multiple people by their IDs.
List of people IDs to delete.
POST /directory/v1/people/delete HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"people_ids": [
"text"
]
}
{
"success": true,
"data": {
"people_ids": [
"text"
]
},
"identifier": "text"
}
Retrieve a list of teams or a specific team by ID, with optional filters for team name, team ID, or external ID.
Optional ID of the team to retrieve.
Optional team name to filter teams.
Optional external ID to filter teams.
Number of items to skip.
0
Maximum number of items to return.
25
Field by which to sort.
Sort order, 'asc' or 'desc'.
asc
Possible values: GET /directory/v1/teams HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"teams": [
{
"_id": "text",
"team_name": "text",
"external_id": "text"
}
],
"pagination": {
"current_results": {
"from": 1,
"to": 1
},
"total_results": 1
}
},
"identifier": "text"
}
Create multiple new teams.
POST /directory/v1/teams HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"teams": [
{
"team_name": "text",
"external_id": "text"
}
]
}
{
"success": true,
"data": {
"teams": [
{
"_id": "text",
"team_name": "text",
"external_id": "text"
}
]
},
"identifier": "text"
}
Update multiple existing teams.
PUT /directory/v1/teams HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 66
{
"teams": [
{
"_id": "text",
"team_name": "text",
"external_id": "text"
}
]
}
{
"success": true,
"data": {
"teams": [
{
"_id": "text",
"team_name": "text",
"external_id": "text"
}
]
},
"identifier": "text"
}
Delete multiple teams by their IDs.
List of team IDs to delete.
POST /directory/v1/teams/delete HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"team_ids": [
"text"
]
}
{
"success": true,
"data": {
"team_ids": [
"text"
]
},
"identifier": "text"
}
Retrieve a list of SCIM Users or filter users per SCIM 2.0 specification.
SCIM filter expression (e.g., userName eq "[email protected]"). Supports filtering by userName, name.givenName, name.familyName, externalId.
1-based index for pagination.
1
Maximum number of items to return.
25
Field to sort by (e.g., userName, name.givenName).
Sort order, "ascending" or "descending".
ascending
Possible values: GET /directory/v1/scim/Users HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
{
"schemas": [
"text"
],
"totalResults": 1,
"startIndex": 1,
"itemsPerPage": 1,
"Resources": [
{
"id": "text",
"userName": "text",
"name": {
"givenName": "text",
"familyName": "text"
},
"externalId": "text",
"schemas": [
"text"
],
"meta": {
"resourceType": "text",
"created": "2025-07-19T01:22:20.401Z",
"lastModified": "2025-07-19T01:22:20.401Z"
}
}
]
}
Create one or more SCIM Users.
SCIM schemas for the request.
Unique identifier for the user, typically an email.
External identifier for the user.
POST /directory/v1/scim/Users HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/scim+json
Accept: */*
Content-Length: 106
{
"schemas": [
"text"
],
"userName": "text",
"name": {
"givenName": "text",
"familyName": "text"
},
"externalId": "text"
}
{
"id": "text",
"userName": "text",
"name": {
"givenName": "text",
"familyName": "text"
},
"externalId": "text",
"schemas": [
"text"
],
"meta": {
"resourceType": "text",
"created": "2025-07-19T01:22:20.401Z",
"lastModified": "2025-07-19T01:22:20.401Z"
}
}
Retrieve a list of SCIM Groups or filter groups per SCIM 2.0 specification.
SCIM filter expression (e.g., displayName eq "Accounting"). Supports filtering by displayName, externalId.
1-based index for pagination.
1
Maximum number of items to return.
25
Field to sort by (e.g., displayName).
Sort order, "ascending" or "descending".
ascending
Possible values: GET /directory/v1/scim/Groups HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
{
"schemas": [
"text"
],
"totalResults": 1,
"startIndex": 1,
"itemsPerPage": 1,
"Resources": [
{
"id": "text",
"displayName": "text",
"externalId": "text",
"schemas": [
"text"
],
"meta": {
"resourceType": "text",
"created": "2025-07-19T01:22:20.401Z",
"lastModified": "2025-07-19T01:22:20.401Z"
}
}
]
}
Create one or more SCIM Groups.
SCIM schemas for the request.
Name of the group.
External identifier for the group.
POST /directory/v1/scim/Groups HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/scim+json
Accept: */*
Content-Length: 61
{
"schemas": [
"text"
],
"displayName": "text",
"externalId": "text"
}
{
"id": "text",
"displayName": "text",
"externalId": "text",
"schemas": [
"text"
],
"meta": {
"resourceType": "text",
"created": "2025-07-19T01:22:20.401Z",
"lastModified": "2025-07-19T01:22:20.401Z"
}
}
Perform bulk operations (create, update, delete) for SCIM Users and Groups.
SCIM schemas for the bulk request.
POST /directory/v1/scim/Bulk HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/scim+json
Accept: */*
Content-Length: 230
{
"schemas": [
"text"
],
"Operations": [
{
"method": "POST",
"path": "text",
"bulkId": "text",
"data": {
"id": "text",
"userName": "text",
"name": {
"givenName": "text",
"familyName": "text"
},
"displayName": "text",
"externalId": "text",
"schemas": [
"text"
]
}
}
]
}
{
"schemas": [
"text"
],
"Operations": [
{
"bulkId": "text",
"method": "text",
"location": "text",
"status": "text",
"response": {
"id": "text",
"userName": "text",
"name": {},
"displayName": "text",
"externalId": "text",
"schemas": [
"text"
],
"meta": {
"resourceType": "text",
"created": "2025-07-19T01:22:20.401Z",
"lastModified": "2025-07-19T01:22:20.401Z"
}
}
}
]
}
Last updated
Was this helpful?