UserAccounts REST API
User Accounts REST API documentation and interactive testing.
For the OpenAPI Specification document use this link: https://apis.objectsgrid.com/useraccounts/contract
EU or US depending on where your Organization Account is located
A valid email address
Two characters country code, ISO-3166 compliant
The identity provider issuer. Can be found in the ID Token public claims
The identity provider subject. Can be found in the ID Token public claims
POST /useraccounts HTTP/1.1
Host: apis.objectsgrid.com
Authorization: Bearer Bearer JWT
X-ObjectsGrid-AccessPoint: EU
Content-Type: application/json
Accept: */*
Content-Length: 406
{
"email": "text",
"givenName": "text",
"middleName": "text",
"familyName": "text",
"address": "text",
"countryCode": "text",
"city": "text",
"postalCode": 1,
"phone": "text",
"iss": "text",
"sub": "text",
"meta": {
"objectVersion": 1,
"objectType": "text",
"namespace": "text",
"createdAt": "2025-07-13T14:31:04.866Z",
"createdBy": "text",
"lastUpdatedAt": "2025-07-13T14:31:04.866Z",
"lastUpdatedBy": "text",
"lastUpdateCorrelationID": "text"
}
}
{
"id": "text",
"countryCode": "text",
"city": "text",
"postalCode": 1,
"disabled": true,
"tags": [
{
"name": "text",
"val": "text"
}
],
"meta": {
"objectVersion": 1,
"objectType": "text",
"namespace": "text",
"createdAt": "2025-07-13T14:31:04.866Z",
"createdBy": "text",
"lastUpdatedAt": "2025-07-13T14:31:04.866Z",
"lastUpdatedBy": "text",
"lastUpdateCorrelationID": "text"
}
}
This operation supports three valid combinations of input parameters. You can use only one of the following combinations at the time:
- query + from + size – Retrieves a paginated list of User Accounts based on a search query.
- email – Retrieves a User Account by email.
- iss + sub – Retrieves a User Account using the iss (Issuer) and sub (Subject) public claims from an ID Token.
Due to OpenAPI's specification current limitations, these combinations cannot be split into separate operations. As a result, they are documented here under a single operation. This may increase the risk of incorrect parameter usage and unexpected behavior.
Elastic Search Query DSL for querying User Accounts. Used alongside the 'from' and 'size' parameters, and should not be combined with any others.
{ "query": { "match_all": {} } }
Defines the starting record number for retrieval. Used in conjunction with the 'query' and 'size' parameters, and should not be combined with any others.
Defines the number of records to retrieve. Used in conjunction with the 'query' and 'from' parameters, and should not be combined with any others.
Retrieves a User Account by email. This parameter must be used alone; do not include any other parameters.
Retrieves a User Account using the 'iss' (Issuer) public claim attribute and the 'sub' (Subject) parameter from the ID Token issued by your Identity Provider (e.g., Google, Facebook, Okta). Must be used with the 'sub' parameter and no others.
Retrieves a User Account using the 'sub' (Subject) public claim attribute and the 'iss' (Issuer) parameter from the ID Token issued by your Identity Provider (e.g., Google, Facebook, Okta). Must be used with the 'iss' parameter and no others.
EU or US depending on where your Organization Account is located
GET /useraccounts HTTP/1.1
Host: apis.objectsgrid.com
Authorization: Bearer Bearer JWT
X-ObjectsGrid-AccessPoint: EU
Accept: */*
[
{
"id": "text",
"countryCode": "text",
"city": "text",
"postalCode": 1,
"disabled": true,
"tags": [
{
"name": "text",
"val": "text"
}
],
"meta": {
"objectVersion": 1,
"objectType": "text",
"namespace": "text",
"createdAt": "2025-07-13T14:31:04.866Z",
"createdBy": "text",
"lastUpdatedAt": "2025-07-13T14:31:04.866Z",
"lastUpdatedBy": "text",
"lastUpdateCorrelationID": "text"
}
}
]
ID of the user account to retrieve
EU or US depending on where your Organization Account is located
GET /useraccounts/{id} HTTP/1.1
Host: apis.objectsgrid.com
Authorization: Bearer Bearer JWT
X-ObjectsGrid-AccessPoint: EU
Accept: */*
{
"id": "text",
"countryCode": "text",
"city": "text",
"postalCode": 1,
"disabled": true,
"tags": [
{
"name": "text",
"val": "text"
}
],
"meta": {
"objectVersion": 1,
"objectType": "text",
"namespace": "text",
"createdAt": "2025-07-13T14:31:04.866Z",
"createdBy": "text",
"lastUpdatedAt": "2025-07-13T14:31:04.866Z",
"lastUpdatedBy": "text",
"lastUpdateCorrelationID": "text"
}
}
ID of the user account to update
EU or US depending on where your Organization Account is located
The User Account ID, generated
Two characters country code, ISO-3166 compliant
true means the User Account is disabled and cannot perform any API operations
PUT /useraccounts/{id} HTTP/1.1
Host: apis.objectsgrid.com
Authorization: Bearer Bearer JWT
X-ObjectsGrid-AccessPoint: EU
Content-Type: application/json
Accept: */*
Content-Length: 340
{
"id": "text",
"countryCode": "text",
"city": "text",
"postalCode": 1,
"disabled": true,
"tags": [
{
"name": "text",
"val": "text"
}
],
"meta": {
"objectVersion": 1,
"objectType": "text",
"namespace": "text",
"createdAt": "2025-07-13T14:31:04.866Z",
"createdBy": "text",
"lastUpdatedAt": "2025-07-13T14:31:04.866Z",
"lastUpdatedBy": "text",
"lastUpdateCorrelationID": "text"
}
}
{
"id": "text",
"countryCode": "text",
"city": "text",
"postalCode": 1,
"disabled": true,
"tags": [
{
"name": "text",
"val": "text"
}
],
"meta": {
"objectVersion": 1,
"objectType": "text",
"namespace": "text",
"createdAt": "2025-07-13T14:31:04.866Z",
"createdBy": "text",
"lastUpdatedAt": "2025-07-13T14:31:04.866Z",
"lastUpdatedBy": "text",
"lastUpdateCorrelationID": "text"
}
}
Deletes the User Account and related User Private Information. It cannot be undone; please use caution.
ID of the user account to delete
EU or US depending on where your Organization Account is located
DELETE /useraccounts/{id} HTTP/1.1
Host: apis.objectsgrid.com
Authorization: Bearer Bearer JWT
X-ObjectsGrid-AccessPoint: EU
Accept: */*
{
"id": "text",
"countryCode": "text",
"city": "text",
"postalCode": 1,
"disabled": true,
"tags": [
{
"name": "text",
"val": "text"
}
],
"meta": {
"objectVersion": 1,
"objectType": "text",
"namespace": "text",
"createdAt": "2025-07-13T14:31:04.866Z",
"createdBy": "text",
"lastUpdatedAt": "2025-07-13T14:31:04.866Z",
"lastUpdatedBy": "text",
"lastUpdateCorrelationID": "text"
}
}
ID of the user private information to retrieve
EU or US depending on where your Organization Account is located
GET /userprivateinformation/{id} HTTP/1.1
Host: apis.objectsgrid.com
Authorization: Bearer Bearer JWT
X-ObjectsGrid-AccessPoint: EU
Accept: */*
{
"id": "text",
"email": "text",
"givenName": "text",
"middleName": "text",
"familyName": "text",
"address": "text",
"countryCode": "text",
"city": "text",
"postalCode": 1,
"phone": "text",
"tags": [
{
"name": "text",
"val": "text"
}
],
"meta": {
"objectVersion": 1,
"objectType": "text",
"namespace": "text",
"createdAt": "2025-07-13T14:31:04.866Z",
"createdBy": "text",
"lastUpdatedAt": "2025-07-13T14:31:04.866Z",
"lastUpdatedBy": "text",
"lastUpdateCorrelationID": "text"
}
}
ID of the user private information to update
EU or US depending on where your Organization Account is located
A valid email address
Two characters country code, ISO-3166 compliant
PUT /userprivateinformation/{id} HTTP/1.1
Host: apis.objectsgrid.com
Authorization: Bearer Bearer JWT
X-ObjectsGrid-AccessPoint: EU
Content-Type: application/json
Accept: */*
Content-Length: 430
{
"id": "text",
"email": "text",
"givenName": "text",
"middleName": "text",
"familyName": "text",
"address": "text",
"countryCode": "text",
"city": "text",
"postalCode": 1,
"phone": "text",
"tags": [
{
"name": "text",
"val": "text"
}
],
"meta": {
"objectVersion": 1,
"objectType": "text",
"namespace": "text",
"createdAt": "2025-07-13T14:31:04.866Z",
"createdBy": "text",
"lastUpdatedAt": "2025-07-13T14:31:04.866Z",
"lastUpdatedBy": "text",
"lastUpdateCorrelationID": "text"
}
}
{
"id": "text",
"countryCode": "text",
"city": "text",
"postalCode": 1,
"disabled": true,
"tags": [
{
"name": "text",
"val": "text"
}
],
"meta": {
"objectVersion": 1,
"objectType": "text",
"namespace": "text",
"createdAt": "2025-07-13T14:31:04.866Z",
"createdBy": "text",
"lastUpdatedAt": "2025-07-13T14:31:04.866Z",
"lastUpdatedBy": "text",
"lastUpdateCorrelationID": "text"
}
}
Permanently deletes a user's private information while preserving the user account. Use this operation to comply with 'right to be forgotten' requests under regulations such as GDPR, CCPA, and similar privacy laws.
ID of the user private information to delete
EU or US depending on where your Organization Account is located
DELETE /userprivateinformation/{id} HTTP/1.1
Host: apis.objectsgrid.com
Authorization: Bearer Bearer JWT
X-ObjectsGrid-AccessPoint: EU
Accept: */*
{
"id": "text",
"countryCode": "text",
"city": "text",
"postalCode": 1,
"disabled": true,
"tags": [
{
"name": "text",
"val": "text"
}
],
"meta": {
"objectVersion": 1,
"objectType": "text",
"namespace": "text",
"createdAt": "2025-07-13T14:31:04.866Z",
"createdBy": "text",
"lastUpdatedAt": "2025-07-13T14:31:04.866Z",
"lastUpdatedBy": "text",
"lastUpdateCorrelationID": "text"
}
}
Last updated
Was this helpful?