• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
dinavinter

dinavinter

gigya

Remix of dinavinter/os
Unlisted
Like
gigya
Home
Code
6
accountviewer
2
docs
3
dsviewer
2
groupmanager
1
shared
1
main.tsx
Environment variables
5
Branches
1
Pull requests
Remixes
History
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
docs
/
groups.md
Code
/
docs
/
groups.md
Search
…
Viewing readonly version of main branch: v30
View latest version
groups.md

accounts.groups.finalizeInvitation REST

This API finalizes the group invitation by adding the user to the group.

Request URL

https://accounts./accounts.groups.finalizeInvitation

Where is:

us1.gigya.com - For the US data center.
eu1.gigya.com - For the European data center.
au1.gigya.com - For the Australian data center.
eu2.gigya.com - For the European Azure data center.
cn1.sapcdm.cn - For the Chinese data center.
global.gigya.com - For all Global site groups.

If you are not sure of your site's data center, see Finding Your Data Center.

Parameters

{
"callId": "26254b038410468bb5a3a344134fd88b",
"errorCode": 0,
"apiVersion": 2,
"statusCode": 200,
"statusReason": "OK",
"time": "2018-12-11T12:52:24.250Z"
}

 Note

Prior to calling this API, make sure to set the “invitation URL” by calling accounts.groups.setSiteConfig REST.

 Note

Certain APIs are not supported on all data centers. The specific API documentation will define if there are any data center
restrictions for the API.
Required Name Type Description
token string The invitation token.
uid string The user ID assigned to the group invitation.
The uid or login_token are required.
login_token string The login token for the user assigned to the group invitation.
The uid or login_token are required.
format string Determines the format of the response.
json (default)
context string/JSON This parameter may be used to pass data through the current method and return it,
unchanged, within the response.
httpStatusCodes Boolean The default value of this parameter is false, which means that the HTTP status code in
SAP Customer Data Cloud's response is always 200 (OK), even if an error occurs. The
error code and message is given within the response data (see below). If this parameter is
set to true, the HTTP status code in SAP Customer Data Cloud's response would reflect an
error, if one occurred.

Authorization Parameters

Each REST API request must contain identification and authorization parameters.

Some REST APIs may function without these authorization parameters, however, when that occurs, these calls are treated as

client-side calls and all client-side rate limits will apply. In order to not reach client-side IP rate limits that may impact your

implementation when using server-to-server REST calls, it is Recommended Best Practice to always use an application key and

secret or a bearer token when sending requests. A non-exhaustive list of REST APIs that this may apply to are as follows:

accounts.login
socialize.login
accounts.notifyLogin
socialize.notifyLogin
accounts.finalizeRegistration
accounts.linkAccounts

Please refer to the Authorization Parameters section for details.

Sample Requests

 Note

As of January 31, 2023, you may no longer use a Partner Secret as a valid authentication method for requests to SAP Customer
Data Cloud servers.

Response Data

Name Type Description
apiVersion integer Defines the API version that returned the response and may not always be available.
callId string Unique identifier of the transaction, for debugging purposes.
errorCode integer The result code of the operation. Code '0' indicates success, any other number indicates failure. For a
complete list of error codes, see the Error Codes table.
errorDetails string This field will appear in the response only in case of an error and will contain the exception info, if available.
errorMessage string A short textual description of an error, associated with the errorCode, for logging purposes. This field will
appear in the response only in case of an error.
fullEventName string The full name of the event that triggered the response. This is an internally used parameter that is not always
returned and should not be relied upon by your implementation.
time string The time of the response represented in ISO 8601 format, i.e., yyyy-mm-dd-Thh:MM:ss.SSSZ or 2021-03-
05T06:11:31.513Z
statusCode integer The HTTP response code of the operation. Code '200' indicates success.
This property is deprecated and only returned for backward compatibility.
Name Type Description
statusReason string A brief explanation of the status code.
This property is deprecated and only returned for backward compatibility.
model string The group's model.
groupId string The group's ID.

Response Example

accounts.groups.getAllMemberGroups REST

Returns the user's groups.

Request URL

https://accounts./accounts.groups.getAllMemberGroups

Where is:

us1.gigya.com - For the US data center.
eu1.gigya.com - For the European data center.
au1.gigya.com - For the Australian data center.
eu2.gigya.com - For the European Azure data center.
cn1.sapcdm.cn - For the Chinese data center.
global.gigya.com - For all Global site groups.

If you are not sure of your site's data center, see Finding Your Data Center.

Parameters

{
"callId": "17e71c8375614cd1bfe55a4e0122c049",
"errorCode": 0,
"apiVersion": 2,
"statusCode": 200,
"statusReason": "OK",
"time": "2022-06-14T15:10:44.042Z",
"model": "Family",
"groupId": "Gur"
}

 Note

Certain APIs are not supported on all data centers. The specific API documentation will define if there are any data center
restrictions for the API.
Required Name Type Description
UID string The SAP Customer Data Cloud UID of the user.
The UID is optional if you pass the login token otherwise it is required.
format string Determines the format of the response.
json (default)
context string/JSON This parameter may be used to pass data through the current method and return it,
unchanged, within the response.
httpStatusCodes Boolean The default value of this parameter is false, which means that the HTTP status code in
SAP Customer Data Cloud's response is always 200 (OK), even if an error occurs. The
error code and message is given within the response data (see below). If this parameter is
set to true, the HTTP status code in SAP Customer Data Cloud's response would reflect an
error, if one occurred.

Authorization Parameters

Each REST API request must contain identification and authorization parameters.

Some REST APIs may function without these authorization parameters, however, when that occurs, these calls are treated as

client-side calls and all client-side rate limits will apply. In order to not reach client-side IP rate limits that may impact your

implementation when using server-to-server REST calls, it is Recommended Best Practice to always use an application key and

secret or a bearer token when sending requests. A non-exhaustive list of REST APIs that this may apply to are as follows:

accounts.login
socialize.login
accounts.notifyLogin
socialize.notifyLogin
accounts.finalizeRegistration
accounts.linkAccounts

Please refer to the Authorization Parameters section for details.

Sample Requests

 Note

As of January 31, 2023, you may no longer use a Partner Secret as a valid authentication method for requests to SAP Customer
Data Cloud servers.

Response Data

Name Type Description
apiVersion integer Defines the API version that returned the response and may not always be available.
callId string Unique identifier of the transaction, for debugging purposes.
errorCode integer The result code of the operation. Code '0' indicates success, any other number indicates failure. For a complete
list of error codes, see the Error Codes table.
errorDetails string This field will appear in the response only in case of an error and will contain the exception info, if available.
errorMessage string A short textual description of an error, associated with the errorCode, for logging purposes. This field will
appear in the response only in case of an error.
time string The time of the response represented in ISO 8601 format, i.e., yyyy-mm-dd-Thh:MM:ss.SSSZ or 2021-03-
05T06:11:31.513Z
statusCode integer The HTTP response code of the operation. Code '200' indicates success.
This property is deprecated and only returned for backward compatibility.
statusReason string A brief explanation of the status code.
This property is deprecated and only returned for backward compatibility.
Name Type Description
results array An array of groups the user is a member of, with the user's membership details.

Response Example

accounts.groups.getAllModels REST

This API returns all existing models for the requested API key.

Request URL

https://accounts./accounts.groups.getAllModels

Where is:

us1.gigya.com - For the US data center.
eu1.gigya.com - For the European data center.
au1.gigya.com - For the Australian data center.
eu2.gigya.com - For the European Azure data center.
cn1.sapcdm.cn - For the Chinese data center.
global.gigya.com - For all Global site groups.

If you are not sure of your site's data center, see Finding Your Data Center.

{
"callId": "b42093126efa4c0fb8f9651a570a928c",
"errorCode": 0,
"apiVersion": 2,
"statusCode": 200,
"statusReason": "OK",
"time": "2022-08-17T13:57:05.305Z",,
"results": [
{
"groupId": "123",
"model": "OrgModel111",
"relationshipData": {},
"memberSince": "2022-08-16T14:54:04.486Z",
"lastUpdated": "2022-08-16T14:54:04.486Z",
"memberSinceTimestamp": 1660661644486,
"lastUpdatedTimestamp": 1660661644486,
"permissions": "groupRead,groupWrite,groupDelete",
"groupData": {
"zipcode": "123456",
"country": "Israel",
"membersLimit": 300,
"city": "Tel Aviv",
"streetaddress": "street1",
"source": "IMPORT",
"state": "Israel",
"type": "CUSTOMER"
}
}
]
}

Parameters

Required Name Type Description
includeEmailTemplates boolean This parameter is optional, if true the model's groupInviteConfig data is included in the
response.

Authorization Parameters

Each REST API request must contain identification and authorization parameters.

Some REST APIs may function without these authorization parameters, however, when that occurs, these calls are treated as

client-side calls and all client-side rate limits will apply. In order to not reach client-side IP rate limits that may impact your

implementation when using server-to-server REST calls, it is Recommended Best Practice to always use an application key and

secret or a bearer token when sending requests. A non-exhaustive list of REST APIs that this may apply to are as follows:

accounts.login
socialize.login
accounts.notifyLogin
socialize.notifyLogin
accounts.finalizeRegistration
accounts.linkAccounts

Please refer to the Authorization Parameters section for details.

Sample Requests

 Note

Certain APIs are not supported on all data centers. The specific API documentation will define if there are any data center
restrictions for the API.

 Note

For details on the group invitation flow, see the Group Invitation section on the Email
Templates page.

 Note

As of January 31, 2023, you may no longer use a Partner Secret as a valid authentication method for requests to SAP Customer
Data Cloud servers.

Response Data

Name Type Description
apiVersion integer Defines the API version that returned the response and may not always be returned.
callId string Unique identifier of the transaction, for debugging purposes.
errorCode integer The result code of the operation. Code '0' indicates success, any other number indicates failure. For a
complete list of error codes, see the Error Codes table.
errorDetails string This field will appear in the response only in case of an error and will contain the exception info, if available.
errorMessage string A short textual description of an error, associated with the errorCode, for logging purposes. This field will
appear in the response only in case of an error.
fullEventName string The full name of the event that triggered the response. This is an internally used parameter that is not always
returned and should not be relied upon by your implementation.
time string The time of the response represented in ISO 8601 format, i.e., yyyy-mm-dd-Thh:MM:ss.SSSZ or 2021-03-
05T06:11:31.513Z
statusCode integer The HTTP response code of the operation. Code '200' indicates success.
This property is deprecated and only returned for backward compatibility.
Name Type Description
statusReason string A brief explanation of the status code.
This property is deprecated and only returned for backward compatibility.
models array An array containing all the existing models for the requested API key.
model - Model name
selfProvisioning - If true the group based on this model can be created by users, otherwise users can
not create a new group based on this model.
groupInviteConfig - The group invitation configuration details. The configuration details will be
returned if includeEmailTemplates is set to true in the parameters.

Response Example

{
"callId": "dbc9910f05a246878d128c50773e180b",
"errorCode": 0,
"apiVersion": 2,
"statusCode": 200,
"statusReason": "OK",
"time": "2022-06-20T09:22:18.362Z",
"models": [
{
"model": "Model 2",
"selfProvisioning": false,
groupInviteConfig: {
"landingPage": "http://localhost/melodi",
"expiration": 300,
"defaultLang": "en",
"emailTemplates": {
"en": "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><META name=\"from\" conte
"de": "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><META name=\"from\" conte
"it": "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><META name=\"from\" conte
}
}
},
{
"model": "modal-one",
"selfProvisioning": false,
groupInviteConfig: {
"landingPage": "http://localhost/Ivori",
"expiration": 300,
"defaultLang": "en",
"emailTemplates": {
"en": "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><META name=\"from\" conte
"de": "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><META name=\"from\" conte
"it": "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><META name=\"from\" conte
}
}
},
{
"model": "test-00001",
"selfProvisioning": false,
groupInviteConfig: {
"landingPage": "http://localhost/Jays",
"expiration": 300,
"defaultLang": "en",
"emailTemplates": {
"en": "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><META name=\"from\" conte
"de": "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><META name=\"from\" conte
"it": "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><META name=\"from\" conte
}
}
}

accounts.groups.getGroupInfo REST

Description

This API returns the information for an existing Group.

Request URL

https://accounts./accounts.groups.getGroupInfo

Where is:

us1.gigya.com - For the US data center.
eu1.gigya.com - For the European data center.
au1.gigya.com - For the Australian data center.
eu2.gigya.com - For the European Azure data center.
cn1.sapcdm.cn - For the Chinese data center.
global.gigya.com - For all Global site groups.

If you are not sure of your site's data center, see Finding Your Data Center.

Parameters

Required Name Type Description
model string The model this group is based upon.
groupId string The groupId of the group to return.

Authorization Parameters

Each REST API request must contain identification and authorization parameters.

]
}
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.