Hi @Matthew Lock and @Jeff Hoogkamer,
There is now some additional information from Genesys that appears to explain this behavior. New Permissions Required for Email Draft Endpoints | Genesys Cloud - Developer Announcements!
Genesys has introduced three new permissions to secure the email draft APIs:
conversation:emailDraft:add → POST /api/v2/conversations/emails/{conversationId}/draft
conversation:emailDraft:edit → PATCH /api/v2/conversations/emails/{conversationId}/draft
conversation:emailDraft:delete → DELETE /api/v2/conversations/emails/{conversationId}/draft
Interestingly, we now have another Community report where users were unable to attach files to email interactions, and adding conversation:emailDraft:add alone resolved the issue. This is consistent with the attachment operation creating/updating the underlying email draft through the draft endpoint.
There is also an important correction from Genesys regarding the automatic permission backfill. The new emailDraft permissions will now be automatically added only to roles that currently have:
conversation:email:create
Roles that have conversation:email:send but do not have conversation:email:create will not receive the new permissions automatically.
This could explain why some existing custom roles are experiencing the issue while others may not be.
One thing that still seems unclear is the timing. The official effective date is October 26, while these attachment issues are already being reported. It would therefore be useful to confirm whether the new authorization checks have been enabled early for some organizations/regions, or whether this is related to a separate rollout/change.
Also, the original error:
conversation:emailAttachment:add
is somewhat misleading if the actual missing permission for the operation is conversation:emailDraft:add.
Based on the additional report, I would therefore try conversation:emailDraft:add first rather than adding all three new permissions. The edit and delete permissions correspond to their respective draft API operations and may not be required simply to add an attachment.
So at this point, there appears to be a strong correlation between the new email-draft permissions and the attachment-upload issue, but the early timing and the emailAttachment:add error message still warrant clarification from Genesys.
------------------------------
Akhil
------------------------------