AgentConnect
Integrations

Change an email address’s settings

Set who may write to an Email integration’s address (members or anyone) and who sees the sessions a message from outside the organization opens (whoever can edit the agent when the session is read, the organization, or one active member). Under anyone every authenticated sender that is not automatic and is within the rate limit may write. Refusals carry code EMAIL_OUTSIDE_MEMBER_UNKNOWN (400) for a user who is not an active member of the organization. Requires edit access to the agent.

PUT
/v1/orgs/{orgId}/integrations/{id}/email/settings

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/orgs/string/integrations/string/email/settings" \  -H "Content-Type: application/json" \  -d '{    "whoMayWrite": "members",    "outsideSessions": {      "kind": "editors"    }  }'
{  "whoMayWrite": "members",  "outsideSessions": {    "kind": "editors"  }}