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.
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.
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$Same semantics as the Gleantap-Account header. Staff tokens only.
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.
2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$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=.
acc_59fca1e3d2a57d28a10b0442OK
General workroom settings β the "Workroom" tab in the dashboard.
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$Display name for the workroom.
IANA timezone (e.g. America/Chicago).
Primary brand color (hex #rrggbb).
The resource doesn't exist or isn't visible to this caller.
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"
}
}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.
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$Same semantics as the Gleantap-Account header. Staff tokens only.
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.
2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$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=.
acc_59fca1e3d2a57d28a10b0442Partial update. All fields optional; unknown fields are silently ignored.
OK
General workroom settings β the "Workroom" tab in the dashboard.
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$Display name for the workroom.
IANA timezone (e.g. America/Chicago).
Primary brand color (hex #rrggbb).
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"
}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"
}
}Sending identity and email configuration for the workroom β from-address, reply-to and the configured gateway.
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.
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$Same semantics as the Gleantap-Account header. Staff tokens only.
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.
2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$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=.
acc_59fca1e3d2a57d28a10b0442OK
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$Default from-address on outbound emails.
Display name shown in the recipient inbox.
Same as from_email in most workrooms.
Workroom email domain. Must be present in the account's verified custom_domains list.
Physical mailing address footer required by anti-spam laws.
Comma-separated list of internal CC recipients on inbound email replies.
GET /v3/workrooms/{id}/settings/email HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
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"
}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.
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$Same semantics as the Gleantap-Account header. Staff tokens only.
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.
2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$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=.
acc_59fca1e3d2a57d28a10b0442Partial 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.
OK
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$Default from-address on outbound emails.
Display name shown in the recipient inbox.
Same as from_email in most workrooms.
Workroom email domain. Must be present in the account's verified custom_domains list.
Physical mailing address footer required by anti-spam laws.
Comma-separated list of internal CC recipients on inbound email replies.
Validation failed (unverified domain, etc.).
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"
}SMS configuration for the workroom, including its default sending number and provider.
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.
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$Same semantics as the Gleantap-Account header. Staff tokens only.
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.
2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$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=.
acc_59fca1e3d2a57d28a10b0442OK
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$Uppercase.
Uppercase.
GET /v3/workrooms/{id}/settings/sms HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
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"
}
}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.
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$Same semantics as the Gleantap-Account header. Staff tokens only.
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.
2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$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=.
acc_59fca1e3d2a57d28a10b0442Partial 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.
OK
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$Uppercase.
Uppercase.
Validation failed (unknown default_sms_number, etc.).
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"
}
}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.
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.
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$Same semantics as the Gleantap-Account header. Staff tokens only.
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.
2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$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=.
acc_59fca1e3d2a57d28a10b0442OK
True if additional records exist beyond this page.
Opaque cursor for the next page. Null on the last page.
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 /v3/workrooms/{id}/phone_numbers HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
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"
}A single provisioned number, its capabilities and whether it is the workroom's default for SMS.
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.
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$A phone number configured for a workroom (Twilio/Telnyx/etc.) β used as the SMS/voice sender.
pn_69e8619adeda61511130cf24Pattern: ^pn_[0-9a-f]{24}$Same semantics as the Gleantap-Account header. Staff tokens only.
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.
2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$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=.
acc_59fca1e3d2a57d28a10b0442OK
A phone number configured for a workroom (Twilio/Telnyx/etc.) β used as the SMS/voice sender.
pn_69e8619adeda61511130cf24Pattern: ^pn_[0-9a-f]{24}$The upstream provider.
e.g. tollfree, local, dlc.
Provider verification status (VERIFIED, PENDING, REJECTED, etc.). Read-only; managed by the dashboard verification flow.
All or a specific staff id.
A staff user (from the legacy users collection). Used for owner_id, responsible_id, created_by, assigned_to, etc.
RFC 3339 timestamp, always UTC, millisecond precision.
2026-05-27T14:23:11.482ZRFC 3339 timestamp, always UTC, millisecond precision.
2026-05-27T14:23:11.482ZThe resource doesn't exist or isn't visible to this caller.
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).
Setting is_default_number=true also mirrors to the workroom's default_sms_number + default_sms_number_type.
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.
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$A phone number configured for a workroom (Twilio/Telnyx/etc.) β used as the SMS/voice sender.
pn_69e8619adeda61511130cf24Pattern: ^pn_[0-9a-f]{24}$Same semantics as the Gleantap-Account header. Staff tokens only.
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.
2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$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=.
acc_59fca1e3d2a57d28a10b0442Partial 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.
A staff user (from the legacy users collection). Used for owner_id, responsible_id, created_by, assigned_to, etc.
OK
A phone number configured for a workroom (Twilio/Telnyx/etc.) β used as the SMS/voice sender.
pn_69e8619adeda61511130cf24Pattern: ^pn_[0-9a-f]{24}$The upstream provider.
e.g. tollfree, local, dlc.
Provider verification status (VERIFIED, PENDING, REJECTED, etc.). Read-only; managed by the dashboard verification flow.
All or a specific staff id.
A staff user (from the legacy users collection). Used for owner_id, responsible_id, created_by, assigned_to, etc.
RFC 3339 timestamp, always UTC, millisecond precision.
2026-05-27T14:23:11.482ZRFC 3339 timestamp, always UTC, millisecond precision.
2026-05-27T14:23:11.482ZPATCH /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
}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"
}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.
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$Same semantics as the Gleantap-Account header. Staff tokens only.
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.
2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$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=.
acc_59fca1e3d2a57d28a10b0442OK
True if additional records exist beyond this page.
Opaque cursor for the next page. Null on the last page.
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 /v3/workrooms/{id}/email_addresses HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
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"
}A single configured from-address, with its verification state. An unverified address cannot be used to send.
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.
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$^ea_[0-9a-f]{24}$Same semantics as the Gleantap-Account header. Staff tokens only.
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.
2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$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=.
acc_59fca1e3d2a57d28a10b0442OK
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.
^ea_[0-9a-f]{24}$The resource doesn't exist or isn't visible to this caller.
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`.
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.
wrm_5ace370fd2a57d74d0548fb2Pattern: ^wrm_[0-9a-f]{24}$^ea_[0-9a-f]{24}$Same semantics as the Gleantap-Account header. Staff tokens only.
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.
2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$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=.
acc_59fca1e3d2a57d28a10b0442OK
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.
^ea_[0-9a-f]{24}$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
}OK
{
"id": "text",
"object": "email_address",
"user_name": "text",
"user_email": "text",
"status": "text",
"is_default": true
}