Organization API
- Base URL:
https://organization-v2.sls.epilot.io - API Docs: https://docs.epilot.io/api/organization
The Organization API provides endpoints for managing epilot tenant organizations.
Quick Start​
# List available operations
epilot organization
# Call an operation
epilot organization getCurrentOrganization
Common Flags​
| Flag | Description |
|---|---|
-p key=value | Set a named parameter |
-d '{...}' | Request body JSON |
-H 'Key: Value' | Custom header |
-t, --token <token> | Bearer token for authentication |
--profile <name> | Use a named profile |
-s, --server <url> | Override server base URL |
-i, --include | Include response headers in output |
--json | Output raw JSON (no formatting) |
-v, --verbose | Verbose output (show request details) |
--jsonata <expr> | JSONata expression to transform response |
--definition <file> | Override OpenAPI spec file/URL |
--guided | Prompt for all parameters interactively |
--no-interactive | Disable interactive prompts |
Operations​
Organization
getCurrentOrganization— Retrieves the organization associated with the authenticated user's current session.getOrganization— Retrieves detailed information about a specific organization by its unique identifier.updateOrganization— Updates an organization's profile information.
Organization Settings
getSettings— Retrieves all configuration settings for an organization.putSettingsValue— Creates or updates a specific organization setting identified by its key.deleteSettingsValue— Removes a specific organization setting identified by its key.notifySettingsValueUpdated— Sends an internal notification that an organization setting was updated.
Feature Settings
getOrganizationFeatureSettings— Get organization feature settings.
Announcements
getActiveAnnouncement— Returns the announcement (e.g. a subprocessor change notice) to show as a portal banner for theacknowledgeAnnouncement— Acknowledges an announcement on behalf of the caller's organization. Only org admins
getCurrentOrganization​
Retrieves the organization associated with the authenticated user's current session.
GET /v2/organization/current
Sample Call
epilot organization getCurrentOrganization
With JSONata filter:
epilot organization getCurrentOrganization --jsonata 'id'
Sample Response
{
"id": "739224",
"name": "Epilot",
"email": "someone@epilot.cloud",
"phone": "+49123123123",
"website": "https://epilot.cloud",
"address": {
"country": "string",
"city": "string",
"postal_code": "string",
"street": "string",
"street_number": "string"
},
"organization_use": "Production",
"parent_production_org_id": "string",
"created_date": "1970-01-01T00:00:00.000Z",
"logo_url": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
"logo_thumbnail_url": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
"signature": "<p>Thanks</p>",
"is_unlicensed_org": false,
"style": {},
"type": "Vendor",
"symbol": "EPI",
"pricing_tier": "professional",
"free_user_limit": 50,
"tags": ["test org"]
}
getOrganization​
Retrieves detailed information about a specific organization by its unique identifier.
GET /v2/organization/{org_id}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
org_id | path | string | Yes | The unique identifier of the organization to retrieve |
Sample Call
epilot organization getOrganization \
-p org_id=739224
Using positional args for path parameters:
epilot organization getOrganization 739224
With JSONata filter:
epilot organization getOrganization -p org_id=739224 --jsonata 'id'
Sample Response
{
"id": "739224",
"name": "Epilot",
"email": "someone@epilot.cloud",
"phone": "+49123123123",
"website": "https://epilot.cloud",
"address": {
"country": "string",
"city": "string",
"postal_code": "string",
"street": "string",
"street_number": "string"
},
"organization_use": "Production",
"parent_production_org_id": "string",
"created_date": "1970-01-01T00:00:00.000Z",
"logo_url": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
"logo_thumbnail_url": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
"signature": "<p>Thanks</p>",
"is_unlicensed_org": false,
"style": {},
"type": "Vendor",
"symbol": "EPI",
"pricing_tier": "professional",
"free_user_limit": 50,
"tags": ["test org"]
}
updateOrganization​
Updates an organization's profile information.
PATCH /v2/organization/{org_id}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
org_id | path | string | Yes | The unique identifier of the organization to update |
Request Body (required)
Sample Call
epilot organization updateOrganization \
-p org_id=739224
With request body:
epilot organization updateOrganization \
-p org_id=739224 \
-d '{
"id": "739224",
"name": "Epilot",
"email": "someone@epilot.cloud",
"phone": "+49123123123",
"website": "https://epilot.cloud",
"address": {
"country": "string",
"city": "string",
"postal_code": "string",
"street": "string",
"street_number": "string"
},
"organization_use": "Production",
"parent_production_org_id": "string",
"created_date": "1970-01-01T00:00:00.000Z",
"logo_url": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
"logo_thumbnail_url": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
"signature": "<p>Thanks</p>",
"is_unlicensed_org": false,
"style": {},
"type": "Vendor",
"symbol": "EPI",
"pricing_tier": "professional",
"free_user_limit": 50,
"tags": ["test org"]
}'
Using positional args for path parameters:
epilot organization updateOrganization 739224
Using stdin pipe:
cat body.json | epilot organization updateOrganization -p org_id=739224
With JSONata filter:
epilot organization updateOrganization -p org_id=739224 --jsonata 'id'
Sample Response
{
"id": "739224",
"name": "Epilot",
"email": "someone@epilot.cloud",
"phone": "+49123123123",
"website": "https://epilot.cloud",
"address": {
"country": "string",
"city": "string",
"postal_code": "string",
"street": "string",
"street_number": "string"
},
"organization_use": "Production",
"parent_production_org_id": "string",
"created_date": "1970-01-01T00:00:00.000Z",
"logo_url": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
"logo_thumbnail_url": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
"signature": "<p>Thanks</p>",
"is_unlicensed_org": false,
"style": {},
"type": "Vendor",
"symbol": "EPI",
"pricing_tier": "professional",
"free_user_limit": 50,
"tags": ["test org"]
}
getSettings​
Retrieves all configuration settings for an organization.
GET /v2/organization/{org_id}/settings
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
org_id | path | string | Yes | The unique identifier of the organization |
Sample Call
epilot organization getSettings \
-p org_id=739224
Using positional args for path parameters:
epilot organization getSettings 739224
With JSONata filter:
epilot organization getSettings -p org_id=739224 --jsonata '$'
Sample Response
{
"double_opt_in": {
"enabled": true
},
"email_tracking": {
"enabled": true,
"track_opens": true
},
"default_language": "de"
}
putSettingsValue​
Creates or updates a specific organization setting identified by its key.
PUT /v2/organization/{org_id}/settings/{key}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
org_id | path | string | Yes | The unique identifier of the organization |
key | path | string | Yes | The setting key to create or update. |
Common keys include: double_opt_in, email_tracking, default_language, workflow_notifications |
Request Body (required)
Sample Call
epilot organization putSettingsValue \
-p org_id=739224 \
-p key=double_opt_in \
-d '{"enabled":true}'
Using positional args for path parameters:
epilot organization putSettingsValue 739224 double_opt_in
Using stdin pipe:
cat body.json | epilot organization putSettingsValue -p org_id=739224 -p key=double_opt_in
With JSONata filter:
epilot organization putSettingsValue -p org_id=739224 -p key=double_opt_in --jsonata '$'
Sample Response
{
"enabled": true
}
deleteSettingsValue​
Removes a specific organization setting identified by its key.
DELETE /v2/organization/{org_id}/settings/{key}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
org_id | path | string | Yes | The unique identifier of the organization |
key | path | string | Yes | The setting key to delete |
Sample Call
epilot organization deleteSettingsValue \
-p org_id=739224 \
-p key=double_opt_in
Using positional args for path parameters:
epilot organization deleteSettingsValue 739224 double_opt_in
With JSONata filter:
epilot organization deleteSettingsValue -p org_id=739224 -p key=double_opt_in --jsonata '$'
notifySettingsValueUpdated​
Sends an internal notification that an organization setting was updated.
POST /v2/organization/{org_id}/settings/{key}/notifications
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
org_id | path | string | Yes | The unique identifier of the organization |
key | path | string | Yes | The setting key that was updated |
Request Body (required)
Sample Call
epilot organization notifySettingsValueUpdated \
-p org_id=739224 \
-p key=360_features \
-d '{"user_email":"string","org_name":"string","value":{"enabled":true}}'
Using positional args for path parameters:
epilot organization notifySettingsValueUpdated 739224 360_features
Using stdin pipe:
cat body.json | epilot organization notifySettingsValueUpdated -p org_id=739224 -p key=360_features
With JSONata filter:
epilot organization notifySettingsValueUpdated -p org_id=739224 -p key=360_features --jsonata 'delivered'
Sample Response
{
"delivered": true
}
getOrganizationFeatureSettings​
Get organization feature settings.
GET /v2/organization/feature-settings
Sample Call
epilot organization getOrganizationFeatureSettings
With JSONata filter:
epilot organization getOrganizationFeatureSettings --jsonata 'version'
getActiveAnnouncement​
Returns the announcement (e.g. a subprocessor change notice) to show as a portal banner for the
GET /v2/organization/announcements/active
Sample Call
epilot organization getActiveAnnouncement
With JSONata filter:
epilot organization getActiveAnnouncement --jsonata 'announcement'
Sample Response
{
"announcement": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "subprocessor_change",
"message": {
"de": "Wir haben unsere Liste der Subdienstleister aktualisiert (gültig ab 01.11.2026). Bitte prüfe die Änderungen.",
"en": "We have updated our list of subprocessors (effective 01.11.2026). Please review the changes."
},
"link_url": "string",
"list_version": "string",
"effective_date": "1970-01-01",
"window_days": 0,
"status": "draft",
"created_at": "1970-01-01T00:00:00.000Z",
"created_by": "string",
"updated_at": "1970-01-01T00:00:00.000Z",
"published_at": "1970-01-01T00:00:00.000Z",
"published_by": "string",
"expires_at": "1970-01-01T00:00:00.000Z",
"archived_at": "1970-01-01T00:00:00.000Z",
"archived_by": "string",
"materialized_at": "1970-01-01T00:00:00.000Z"
},
"can_acknowledge": true
}
acknowledgeAnnouncement​
Acknowledges an announcement on behalf of the caller's organization. Only org admins
POST /v2/organization/announcements/{announcement_id}/acknowledge
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
announcement_id | path | string | Yes | Announcement id |
Request Body
Sample Call
epilot organization acknowledgeAnnouncement \
-p announcement_id=123e4567-e89b-12d3-a456-426614174000 \
-d '{"portal":"360"}'
Using positional args for path parameters:
epilot organization acknowledgeAnnouncement 123e4567-e89b-12d3-a456-426614174000
Using stdin pipe:
cat body.json | epilot organization acknowledgeAnnouncement -p announcement_id=123e4567-e89b-12d3-a456-426614174000
With JSONata filter:
epilot organization acknowledgeAnnouncement -p announcement_id=123e4567-e89b-12d3-a456-426614174000 --jsonata 'announcement_id'
Sample Response
{
"announcement_id": "string",
"org_id": "string",
"org_name": "string",
"status": "acknowledged",
"acknowledged_by": {
"user_id": "string",
"name": "string",
"email": "string"
},
"acknowledged_at": "1970-01-01T00:00:00.000Z",
"portal": "360",
"list_version": "string",
"recorded_at": "1970-01-01T00:00:00.000Z"
}