Organization
Updated
Organization
1. Creates a new organization
Endpoint: POST /paid/governance/create/organization
Request Body :
Field | Type | Required | Description |
organizationId | String | Yes | Unique ID to identify the organization |
name | String | Yes | The display name of the organization |
actorUserEmail | String | Yes | The email address of the user creating/Updating this organization |
curl --location 'https://api3.sprinklr.com/{env}/api/v2/paid/governance/create/organization' \
--header 'Authorization: Bearer <your-access-token>' \
--header 'Key: <your-api-key>' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Sample Organization",
"actorUserEmail": "sample.user@example.com",
"organizationId": "sample-org-id"
}'
2. Delete a organization
Endpoint: POST /paid/governance/delete/organization?organizationId=<orgId>
Query Param
Field | Type | Required | Description |
organizationId | String | Yes | Unique ID to identify the organization |
3. Get organization
Endpoint: GET /paid/governance/get/organization?organizationId=<orgId>
curl --location 'https://api3.sprinklr.com/{env}/api/v2/paid/governance/get/organization?organizationId=sample-org-id' \
--header 'Authorization: Bearer <your-access-token>' \
--header 'Key: <your-api-key>' \
--header 'accept: application/json' \
--header 'Content-Type: application/json'
Query Param
Field | Type | Required | Description |
organizationId | String | Yes | Unique ID to identify the organization |
Response :
Field | Field Type | Description |
organizationId | String | Unique identifier of the organization |
name | String | Name of the organization |
createdBy | String | User who created the record |
modifiedBy | String | User who last modified the record |
createdAt | Long | Timestamp (in milliseconds since epoch) when created |
modifiedAt | Long | Timestamp (in milliseconds since epoch) when modified |