For the complete documentation index, see llms.txt. This page is also available as Markdown.

Workroom Settings

Workroom configuration: general info, email defaults, SMS templates and compliance text, phone numbers, and sender email addresses. Requires the workrooms:configure scope. Unknown fields in PATCH requests are ignored. Provider credentials stay in the dashboard and aren't exposed here.

Retrieve general workroom settings.

get
Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
Query parameters
accountstringOptional

Same semantics as the Gleantap-Account header. Staff tokens only.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Responses
200

OK

application/json

General workroom settings β€” the "Workroom" tab in the dashboard.

idstringOptionalExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
objectstring Β· enumOptionalPossible values:
app_namestring Β· nullableOptional

Display name for the workroom.

company_namestring Β· nullableOptional
websitestring Β· nullableOptional
timezonestring Β· nullableOptional

IANA timezone (e.g. America/Chicago).

address1string Β· nullableOptional
address2string Β· nullableOptional
citystring Β· nullableOptional
statestring Β· nullableOptional
zipstring Β· nullableOptional
app_colourstring Β· nullableOptional

Primary brand color (hex #rrggbb).

get/workrooms/{id}/settings
GET /v3/workrooms/{id}/settings HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "wrm_5ace370fd2a57d74d0548fb2",
  "object": "workroom_settings",
  "app_name": "text",
  "company_name": "text",
  "website": "text",
  "timezone": "text",
  "address1": "text",
  "address2": "text",
  "city": "text",
  "state": "text",
  "zip": "text",
  "app_colour": "text",
  "social_links": {
    "facebook": "text",
    "instagram": "text",
    "linkedin": "text",
    "twitter": "text",
    "youtube": "text",
    "tiktok": "text"
  }
}

Update general workroom settings (name, timezone, address, branding, social links).

patch
Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
Query parameters
accountstringOptional

Same semantics as the Gleantap-Account header. Staff tokens only.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Body

Partial update. All fields optional; unknown fields are silently ignored.

app_namestringOptional
company_namestringOptional
websitestringOptional
timezonestringOptional
address1stringOptional
address2stringOptional
citystringOptional
statestringOptional
zipstringOptional
app_colourstringOptional
facebook_linkstringOptional
instagram_linkstringOptional
linkedinstringOptional
twitterstringOptional
youtubestringOptional
tiktokstringOptional
Responses
200

OK

application/json

General workroom settings β€” the "Workroom" tab in the dashboard.

idstringOptionalExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
objectstring Β· enumOptionalPossible values:
app_namestring Β· nullableOptional

Display name for the workroom.

company_namestring Β· nullableOptional
websitestring Β· nullableOptional
timezonestring Β· nullableOptional

IANA timezone (e.g. America/Chicago).

address1string Β· nullableOptional
address2string Β· nullableOptional
citystring Β· nullableOptional
statestring Β· nullableOptional
zipstring Β· nullableOptional
app_colourstring Β· nullableOptional

Primary brand color (hex #rrggbb).

patch/workrooms/{id}/settings
PATCH /v3/workrooms/{id}/settings HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 289

{
  "app_name": "text",
  "company_name": "text",
  "website": "text",
  "timezone": "text",
  "address1": "text",
  "address2": "text",
  "city": "text",
  "state": "text",
  "zip": "text",
  "app_colour": "text",
  "facebook_link": "text",
  "instagram_link": "text",
  "linkedin": "text",
  "twitter": "text",
  "youtube": "text",
  "tiktok": "text"
}
200

OK

{
  "id": "wrm_5ace370fd2a57d74d0548fb2",
  "object": "workroom_settings",
  "app_name": "text",
  "company_name": "text",
  "website": "text",
  "timezone": "text",
  "address1": "text",
  "address2": "text",
  "city": "text",
  "state": "text",
  "zip": "text",
  "app_colour": "text",
  "social_links": {
    "facebook": "text",
    "instagram": "text",
    "linkedin": "text",
    "twitter": "text",
    "youtube": "text",
    "tiktok": "text"
  }
}

Retrieve a workroom's email settings.

get

Sending identity and email configuration for the workroom β€” from-address, reply-to and the configured gateway.

Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
Query parameters
accountstringOptional

Same semantics as the Gleantap-Account header. Staff tokens only.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Responses
200

OK

application/json
idstringOptionalExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
objectstring Β· enumOptionalPossible values:
from_emailstring Β· nullableOptional

Default from-address on outbound emails.

from_namestring Β· nullableOptional
from_sender_namestring Β· nullableOptional

Display name shown in the recipient inbox.

default_emailstring Β· nullableOptional

Same as from_email in most workrooms.

reply_to_emailstring Β· nullableOptional
domainstring Β· nullableOptional

Workroom email domain. Must be present in the account's verified custom_domains list.

email_unsubscribe_footerstring Β· nullableOptional
email_address_footerstring Β· nullableOptional

Physical mailing address footer required by anti-spam laws.

forward_email_copystring Β· nullableOptional
forward_inbox_email_copystring Β· nullableOptional
cc_inbox_email_tostring Β· nullableOptional

Comma-separated list of internal CC recipients on inbound email replies.

get/workrooms/{id}/settings/email
GET /v3/workrooms/{id}/settings/email HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "id": "wrm_5ace370fd2a57d74d0548fb2",
  "object": "workroom_email_settings",
  "from_email": "text",
  "from_name": "text",
  "from_sender_name": "text",
  "default_email": "text",
  "reply_to_email": "text",
  "domain": "text",
  "email_quiet_hours": {
    "min": "text",
    "max": "text"
  },
  "email_unsubscribe_footer": "text",
  "email_address_footer": "text",
  "forward_email_copy": "text",
  "forward_inbox_email_copy": "text",
  "cc_inbox_email_to": "text"
}

Update the workroom's email defaults. Domain must be verified.

patch
Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
Query parameters
accountstringOptional

Same semantics as the Gleantap-Account header. Staff tokens only.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Body

Partial update. from_email / domain changes REQUIRE the requested domain to be verified in the account's custom_domains list β€” 422 validation_failed otherwise. Domains not in custom_domains (Gleantap-managed defaults like cx1.gleantap.org) are accepted.

from_emailstringOptional
from_namestringOptional
from_sender_namestringOptional
default_emailstringOptional
reply_to_emailstringOptional
domainstringOptional
email_unsubscribe_footerstringOptional
email_address_footerstringOptional
forward_email_copystringOptional
forward_inbox_email_copystringOptional
cc_inbox_email_tostringOptional
Responses
200

OK

application/json
idstringOptionalExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
objectstring Β· enumOptionalPossible values:
from_emailstring Β· nullableOptional

Default from-address on outbound emails.

from_namestring Β· nullableOptional
from_sender_namestring Β· nullableOptional

Display name shown in the recipient inbox.

default_emailstring Β· nullableOptional

Same as from_email in most workrooms.

reply_to_emailstring Β· nullableOptional
domainstring Β· nullableOptional

Workroom email domain. Must be present in the account's verified custom_domains list.

email_unsubscribe_footerstring Β· nullableOptional
email_address_footerstring Β· nullableOptional

Physical mailing address footer required by anti-spam laws.

forward_email_copystring Β· nullableOptional
forward_inbox_email_copystring Β· nullableOptional
cc_inbox_email_tostring Β· nullableOptional

Comma-separated list of internal CC recipients on inbound email replies.

patch/workrooms/{id}/settings/email
PATCH /v3/workrooms/{id}/settings/email HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 330

{
  "from_email": "text",
  "from_name": "text",
  "from_sender_name": "text",
  "default_email": "text",
  "reply_to_email": "text",
  "domain": "text",
  "email_quiet_hours": {
    "min": "text",
    "max": "text"
  },
  "email_unsubscribe_footer": "text",
  "email_address_footer": "text",
  "forward_email_copy": "text",
  "forward_inbox_email_copy": "text",
  "cc_inbox_email_to": "text"
}
{
  "id": "wrm_5ace370fd2a57d74d0548fb2",
  "object": "workroom_email_settings",
  "from_email": "text",
  "from_name": "text",
  "from_sender_name": "text",
  "default_email": "text",
  "reply_to_email": "text",
  "domain": "text",
  "email_quiet_hours": {
    "min": "text",
    "max": "text"
  },
  "email_unsubscribe_footer": "text",
  "email_address_footer": "text",
  "forward_email_copy": "text",
  "forward_inbox_email_copy": "text",
  "cc_inbox_email_to": "text"
}

Retrieve a workroom's SMS settings.

get

SMS configuration for the workroom, including its default sending number and provider.

Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
Query parameters
accountstringOptional

Same semantics as the Gleantap-Account header. Staff tokens only.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Responses
200

OK

application/json
idstringOptionalExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
objectstring Β· enumOptionalPossible values:
default_sms_numberstring Β· nullableOptional
default_sms_number_typestring Β· enum Β· nullableOptionalPossible values:
from_sender_namestring Β· nullableOptional
optin_messagestring Β· nullableOptional
doubleoptin_messagestring Β· nullableOptional
optout_messagestring Β· nullableOptional
help_messagestring Β· nullableOptional
thankyou_optin_messagestring Β· nullableOptional
optin_keywordsstring[]Optional

Uppercase.

optout_keywordsstring[]Optional

Uppercase.

max_sms_per_daystring Β· nullableOptional
max_sms_per_weekstring Β· nullableOptional
auto_responsestring Β· nullableOptional
auto_response_quiethoursmsstring Β· nullableOptional
auto_response_optoutinstructionsmsstring Β· nullableOptional
auto_response_optoutinstructionsms_statusbooleanOptional
widget_messagestring Β· nullableOptional
widget_optin_disclaimerstring Β· nullableOptional
get/workrooms/{id}/settings/sms
GET /v3/workrooms/{id}/settings/sms HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "id": "wrm_5ace370fd2a57d74d0548fb2",
  "object": "workroom_sms_settings",
  "default_sms_number": "text",
  "default_sms_number_type": "twilio",
  "from_sender_name": "text",
  "optin_message": "text",
  "doubleoptin_message": "text",
  "optout_message": "text",
  "help_message": "text",
  "thankyou_optin_message": "text",
  "optin_keywords": [
    "text"
  ],
  "optout_keywords": [
    "text"
  ],
  "sms_quiet_hours": {
    "min": "text",
    "max": "text"
  },
  "max_sms_per_day": "text",
  "max_sms_per_week": "text",
  "auto_response": "text",
  "auto_response_quiethoursms": "text",
  "auto_response_optoutinstructionsms": "text",
  "auto_response_optoutinstructionsms_status": true,
  "widget_message": "text",
  "widget_optin_disclaimer": "text",
  "optin_settings": {
    "contact_texts_in": "text",
    "contact_website": "text",
    "new_via_integration": "text",
    "allow_sending_to": "text",
    "other_contacts": "text"
  }
}

Update the workroom's SMS templates, compliance text, quiet hours, and default number.

patch
Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
Query parameters
accountstringOptional

Same semantics as the Gleantap-Account header. Staff tokens only.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Body

Partial update. default_sms_number must be a registered number in this workroom (see /workrooms/{id}/phone_numbers) β€” 422 validation_failed otherwise. optin_keywords and optout_keywords are auto-uppercased.

default_sms_numberstringOptional
default_sms_number_typestring Β· enumOptionalPossible values:
from_sender_namestringOptional
doubleoptinmessagestringOptional
optinmessagestringOptional
optoutmessagestringOptional
helpmessagestringOptional
thankyouoptinstringOptional
optinkeywordsstring[]Optional
optoutkeywordsstring[]Optional
auto_responsestringOptional
auto_response_quiethoursmsstringOptional
auto_response_optoutinstructionsmsstringOptional
auto_response_optoutinstructionsms_statusbooleanOptional
widget_messagestringOptional
widget_optin_disclaimerstringOptional
Responses
200

OK

application/json
idstringOptionalExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
objectstring Β· enumOptionalPossible values:
default_sms_numberstring Β· nullableOptional
default_sms_number_typestring Β· enum Β· nullableOptionalPossible values:
from_sender_namestring Β· nullableOptional
optin_messagestring Β· nullableOptional
doubleoptin_messagestring Β· nullableOptional
optout_messagestring Β· nullableOptional
help_messagestring Β· nullableOptional
thankyou_optin_messagestring Β· nullableOptional
optin_keywordsstring[]Optional

Uppercase.

optout_keywordsstring[]Optional

Uppercase.

max_sms_per_daystring Β· nullableOptional
max_sms_per_weekstring Β· nullableOptional
auto_responsestring Β· nullableOptional
auto_response_quiethoursmsstring Β· nullableOptional
auto_response_optoutinstructionsmsstring Β· nullableOptional
auto_response_optoutinstructionsms_statusbooleanOptional
widget_messagestring Β· nullableOptional
widget_optin_disclaimerstring Β· nullableOptional
patch/workrooms/{id}/settings/sms
PATCH /v3/workrooms/{id}/settings/sms HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 612

{
  "default_sms_number": "text",
  "default_sms_number_type": "twilio",
  "from_sender_name": "text",
  "doubleoptinmessage": "text",
  "optinmessage": "text",
  "optoutmessage": "text",
  "helpmessage": "text",
  "thankyouoptin": "text",
  "optinkeywords": [
    "text"
  ],
  "optoutkeywords": [
    "text"
  ],
  "sms_quiet_hours": {
    "min": "text",
    "max": "text"
  },
  "max_sms": {
    "per_day": "text",
    "per_week": "text"
  },
  "auto_response": "text",
  "auto_response_quiethoursms": "text",
  "auto_response_optoutinstructionsms": "text",
  "auto_response_optoutinstructionsms_status": true,
  "widget_message": "text",
  "widget_optin_disclaimer": "text",
  "optin_settings": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  }
}
{
  "id": "wrm_5ace370fd2a57d74d0548fb2",
  "object": "workroom_sms_settings",
  "default_sms_number": "text",
  "default_sms_number_type": "twilio",
  "from_sender_name": "text",
  "optin_message": "text",
  "doubleoptin_message": "text",
  "optout_message": "text",
  "help_message": "text",
  "thankyou_optin_message": "text",
  "optin_keywords": [
    "text"
  ],
  "optout_keywords": [
    "text"
  ],
  "sms_quiet_hours": {
    "min": "text",
    "max": "text"
  },
  "max_sms_per_day": "text",
  "max_sms_per_week": "text",
  "auto_response": "text",
  "auto_response_quiethoursms": "text",
  "auto_response_optoutinstructionsms": "text",
  "auto_response_optoutinstructionsms_status": true,
  "widget_message": "text",
  "widget_optin_disclaimer": "text",
  "optin_settings": {
    "contact_texts_in": "text",
    "contact_website": "text",
    "new_via_integration": "text",
    "allow_sending_to": "text",
    "other_contacts": "text"
  }
}

List phone numbers configured for a workroom.

get

Numbers are pre-provisioned via the dashboard (through Twilio, Telnyx, etc.) β€” this endpoint is read-only for the number list. Use PATCH /workrooms/{id}/phone_numbers/{number_id} to set the default and toggle SMS/voice.

Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
Query parameters
accountstringOptional

Same semantics as the Gleantap-Account header. Staff tokens only.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Responses
200

OK

application/json
objectconst: listRequired
has_morebooleanRequired

True if additional records exist beyond this page.

next_cursorstring Β· nullableRequired

Opaque cursor for the next page. Null on the last page.

prev_cursorstring Β· nullableRequired

Cursor for the previous page. Supported on listContacts and listSegmentContacts: pass it back as ?before=... to page backward; null on the first page. On every other list endpoint paging is forward-only and this is always null.

get/workrooms/{id}/phone_numbers
GET /v3/workrooms/{id}/phone_numbers HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "object": "text",
  "data": [
    {
      "id": "pn_69e8619adeda61511130cf24",
      "object": "phone_number",
      "phone_number": "text",
      "type": "twilio",
      "number_type": "text",
      "status": "text",
      "is_default_number": true,
      "is_sms_enabled": true,
      "is_voice_enabled": true,
      "assigned_to": "text",
      "assigned_to_person": [
        "text"
      ],
      "call_forwarding": {
        "status": true,
        "type": "text",
        "phone_number": "text"
      },
      "voicemail": {
        "status": true,
        "text": "text",
        "type": "text",
        "caller_status": true,
        "caller_email": "text",
        "caller_text": "text",
        "caller_type": "text"
      },
      "call_quiet_hours": {
        "status": true,
        "from_hours": "text",
        "to_hours": "text",
        "voicemail_text": "text",
        "voicemail_type": "text"
      },
      "sms_quiet_hours": {
        "min": "text",
        "max": "text"
      },
      "sms_quiet_hours_status": true,
      "call_recording_notify": {
        "status": true,
        "text": "text",
        "type": "text"
      },
      "created_at": "2026-05-27T14:23:11.482Z",
      "updated_at": "2026-05-27T14:23:11.482Z"
    }
  ],
  "has_more": true,
  "next_cursor": "text",
  "prev_cursor": "text"
}

Retrieve one workroom phone number.

get

A single provisioned number, its capabilities and whether it is the workroom's default for SMS.

Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
number_idstringRequired

A phone number configured for a workroom (Twilio/Telnyx/etc.) β€” used as the SMS/voice sender.

Example: pn_69e8619adeda61511130cf24Pattern: ^pn_[0-9a-f]{24}$
Query parameters
accountstringOptional

Same semantics as the Gleantap-Account header. Staff tokens only.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Responses
200

OK

application/json
idstringOptional

A phone number configured for a workroom (Twilio/Telnyx/etc.) β€” used as the SMS/voice sender.

Example: pn_69e8619adeda61511130cf24Pattern: ^pn_[0-9a-f]{24}$
objectstring Β· enumOptionalPossible values:
phone_numberstring Β· nullableOptional
typestring Β· enum Β· nullableOptional

The upstream provider.

Possible values:
number_typestring Β· nullableOptional

e.g. tollfree, local, dlc.

statusstring Β· nullableOptional

Provider verification status (VERIFIED, PENDING, REJECTED, etc.). Read-only; managed by the dashboard verification flow.

is_default_numberbooleanOptional
is_sms_enabledbooleanOptional
is_voice_enabledbooleanOptional
assigned_tostring Β· nullableOptional

All or a specific staff id.

assigned_to_personstring[]Optional

A staff user (from the legacy users collection). Used for owner_id, responsible_id, created_by, assigned_to, etc.

sms_quiet_hours_statusbooleanOptional
created_atstring Β· date-timeOptional

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
updated_atstring Β· date-timeOptional

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
get/workrooms/{id}/phone_numbers/{number_id}
GET /v3/workrooms/{id}/phone_numbers/{number_id} HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "pn_69e8619adeda61511130cf24",
  "object": "phone_number",
  "phone_number": "text",
  "type": "twilio",
  "number_type": "text",
  "status": "text",
  "is_default_number": true,
  "is_sms_enabled": true,
  "is_voice_enabled": true,
  "assigned_to": "text",
  "assigned_to_person": [
    "text"
  ],
  "call_forwarding": {
    "status": true,
    "type": "text",
    "phone_number": "text"
  },
  "voicemail": {
    "status": true,
    "text": "text",
    "type": "text",
    "caller_status": true,
    "caller_email": "text",
    "caller_text": "text",
    "caller_type": "text"
  },
  "call_quiet_hours": {
    "status": true,
    "from_hours": "text",
    "to_hours": "text",
    "voicemail_text": "text",
    "voicemail_type": "text"
  },
  "sms_quiet_hours": {
    "min": "text",
    "max": "text"
  },
  "sms_quiet_hours_status": true,
  "call_recording_notify": {
    "status": true,
    "text": "text",
    "type": "text"
  },
  "created_at": "2026-05-27T14:23:11.482Z",
  "updated_at": "2026-05-27T14:23:11.482Z"
}

Update settable fields on a phone number (default, sms/voice toggles, assignments, voicemail, quiet hours, call forwarding).

patch

Setting is_default_number=true also mirrors to the workroom's default_sms_number + default_sms_number_type.

Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
number_idstringRequired

A phone number configured for a workroom (Twilio/Telnyx/etc.) β€” used as the SMS/voice sender.

Example: pn_69e8619adeda61511130cf24Pattern: ^pn_[0-9a-f]{24}$
Query parameters
accountstringOptional

Same semantics as the Gleantap-Account header. Staff tokens only.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Body

Partial update. Only these fields are settable via API β€” provider verification metadata (status, business info, etc.) stays UI-only. Setting is_default_number=true also updates the workroom's default_sms_number + default_sms_number_type.

is_default_numberbooleanOptional
is_sms_enabledbooleanOptional
is_voice_enabledbooleanOptional
assigned_tostringOptional
assigned_to_personstring[]Optional

A staff user (from the legacy users collection). Used for owner_id, responsible_id, created_by, assigned_to, etc.

call_forwarding_statusbooleanOptional
call_forwarding_typestringOptional
call_forwarding_phonenumberstringOptional
call_voicemail_statusbooleanOptional
call_voicemail_textstringOptional
call_voicemail_typestringOptional
caller_voicemail_statusbooleanOptional
caller_voicemail_emailstringOptional
caller_voicemail_textstringOptional
caller_voicemail_typestringOptional
quiethour_statusbooleanOptional
quiethour_from_hoursstringOptional
quiethour_to_hoursstringOptional
quiethour_voicemail_textstringOptional
quiethour_voicemail_typestringOptional
sms_quiethour_statusbooleanOptional
call_recording_notify_textstringOptional
call_recording_notify_typestringOptional
caller_recording_notify_statusbooleanOptional
Responses
200

OK

application/json
idstringOptional

A phone number configured for a workroom (Twilio/Telnyx/etc.) β€” used as the SMS/voice sender.

Example: pn_69e8619adeda61511130cf24Pattern: ^pn_[0-9a-f]{24}$
objectstring Β· enumOptionalPossible values:
phone_numberstring Β· nullableOptional
typestring Β· enum Β· nullableOptional

The upstream provider.

Possible values:
number_typestring Β· nullableOptional

e.g. tollfree, local, dlc.

statusstring Β· nullableOptional

Provider verification status (VERIFIED, PENDING, REJECTED, etc.). Read-only; managed by the dashboard verification flow.

is_default_numberbooleanOptional
is_sms_enabledbooleanOptional
is_voice_enabledbooleanOptional
assigned_tostring Β· nullableOptional

All or a specific staff id.

assigned_to_personstring[]Optional

A staff user (from the legacy users collection). Used for owner_id, responsible_id, created_by, assigned_to, etc.

sms_quiet_hours_statusbooleanOptional
created_atstring Β· date-timeOptional

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
updated_atstring Β· date-timeOptional

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
patch/workrooms/{id}/phone_numbers/{number_id}
PATCH /v3/workrooms/{id}/phone_numbers/{number_id} HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 766

{
  "is_default_number": true,
  "is_sms_enabled": true,
  "is_voice_enabled": true,
  "assigned_to": "text",
  "assigned_to_person": [
    "text"
  ],
  "call_forwarding_status": true,
  "call_forwarding_type": "text",
  "call_forwarding_phonenumber": "text",
  "call_voicemail_status": true,
  "call_voicemail_text": "text",
  "call_voicemail_type": "text",
  "caller_voicemail_status": true,
  "caller_voicemail_email": "text",
  "caller_voicemail_text": "text",
  "caller_voicemail_type": "text",
  "quiethour_status": true,
  "quiethour_from_hours": "text",
  "quiethour_to_hours": "text",
  "quiethour_voicemail_text": "text",
  "quiethour_voicemail_type": "text",
  "sms_quiethour_status": true,
  "sms_quiet_hours": {
    "min": "text",
    "max": "text"
  },
  "call_recording_notify_text": "text",
  "call_recording_notify_type": "text",
  "caller_recording_notify_status": true
}
200

OK

{
  "id": "pn_69e8619adeda61511130cf24",
  "object": "phone_number",
  "phone_number": "text",
  "type": "twilio",
  "number_type": "text",
  "status": "text",
  "is_default_number": true,
  "is_sms_enabled": true,
  "is_voice_enabled": true,
  "assigned_to": "text",
  "assigned_to_person": [
    "text"
  ],
  "call_forwarding": {
    "status": true,
    "type": "text",
    "phone_number": "text"
  },
  "voicemail": {
    "status": true,
    "text": "text",
    "type": "text",
    "caller_status": true,
    "caller_email": "text",
    "caller_text": "text",
    "caller_type": "text"
  },
  "call_quiet_hours": {
    "status": true,
    "from_hours": "text",
    "to_hours": "text",
    "voicemail_text": "text",
    "voicemail_type": "text"
  },
  "sms_quiet_hours": {
    "min": "text",
    "max": "text"
  },
  "sms_quiet_hours_status": true,
  "call_recording_notify": {
    "status": true,
    "text": "text",
    "type": "text"
  },
  "created_at": "2026-05-27T14:23:11.482Z",
  "updated_at": "2026-05-27T14:23:11.482Z"
}

List the workroom's configured sender email addresses.

get
Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
Query parameters
accountstringOptional

Same semantics as the Gleantap-Account header. Staff tokens only.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Responses
200

OK

application/json
objectconst: listRequired
has_morebooleanRequired

True if additional records exist beyond this page.

next_cursorstring Β· nullableRequired

Opaque cursor for the next page. Null on the last page.

prev_cursorstring Β· nullableRequired

Cursor for the previous page. Supported on listContacts and listSegmentContacts: pass it back as ?before=... to page backward; null on the first page. On every other list endpoint paging is forward-only and this is always null.

get/workrooms/{id}/email_addresses
GET /v3/workrooms/{id}/email_addresses HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "object": "text",
  "data": [
    {
      "id": "text",
      "object": "email_address",
      "user_name": "text",
      "user_email": "text",
      "status": "text",
      "is_default": true
    }
  ],
  "has_more": true,
  "next_cursor": "text",
  "prev_cursor": "text"
}

Retrieve one workroom sending address.

get

A single configured from-address, with its verification state. An unverified address cannot be used to send.

Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
email_idstringRequiredPattern: ^ea_[0-9a-f]{24}$
Query parameters
accountstringOptional

Same semantics as the Gleantap-Account header. Staff tokens only.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Responses
200

OK

application/json

A sender address in the workroom's email_topics list. Set is_default=true (via PATCH) to make it the workroom's default sender β€” the write cascades to default_email + reply_to_email on the workroom.

idstringOptionalPattern: ^ea_[0-9a-f]{24}$
objectstring Β· enumOptionalPossible values:
user_namestring Β· nullableOptional
user_emailstring Β· nullableOptional
statusstring Β· nullableOptional
is_defaultbooleanOptional
get/workrooms/{id}/email_addresses/{email_id}
GET /v3/workrooms/{id}/email_addresses/{email_id} HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "text",
  "object": "email_address",
  "user_name": "text",
  "user_email": "text",
  "status": "text",
  "is_default": true
}

Update a sender address. Setting `is_default=true` also updates the workroom's `default_email` and `reply_to_email`.

patch
Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$
email_idstringRequiredPattern: ^ea_[0-9a-f]{24}$
Query parameters
accountstringOptional

Same semantics as the Gleantap-Account header. Staff tokens only.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Body
user_namestringOptional
statusstringOptional
is_defaultbooleanOptional
Responses
200

OK

application/json

A sender address in the workroom's email_topics list. Set is_default=true (via PATCH) to make it the workroom's default sender β€” the write cascades to default_email + reply_to_email on the workroom.

idstringOptionalPattern: ^ea_[0-9a-f]{24}$
objectstring Β· enumOptionalPossible values:
user_namestring Β· nullableOptional
user_emailstring Β· nullableOptional
statusstring Β· nullableOptional
is_defaultbooleanOptional
patch/workrooms/{id}/email_addresses/{email_id}
PATCH /v3/workrooms/{id}/email_addresses/{email_id} HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 54

{
  "user_name": "text",
  "status": "text",
  "is_default": true
}
200

OK

{
  "id": "text",
  "object": "email_address",
  "user_name": "text",
  "user_email": "text",
  "status": "text",
  "is_default": true
}