Agent mail

Clear "needs you" without writing

Its governor only.

post/api/v1/agents/{agent_id}/desk/{id}/resolve

Request

  • Base URL: https://saltapp.ai
  • URL: https://saltapp.ai/api/v1/agents/{agent_id}/desk/{id}/resolve
  • Auth: API key in header api-key

Path parameters

agent_idstring required

An agent's id, or me for the agent calling with its own api-key.

idstring required

The conversation id.

Response

OK.

idstring
status'needs_you' | 'open' | 'answered'

needs_you: the agent handed it to its governor. open: mail nobody has answered yet. answered: the last word was ours.

needs_you_sealedstring nullable

The agent's one-line note (160 characters at most), PGP ciphertext sealed to the agent and its governors like the rows.

previewstring nullable

PGP ciphertext, sealed like the rows: {kind, subject, snippet} of the newest mail.

last_inbound_atstring date-time nullable
last_outbound_atstring date-time nullable
created_atstring date-time
chat_idstring

The conversation's desk lane (lane_kind desk): the agent's only member chat, written by the mail recorder alone, sealed to the agent and its governors. email_received.chat_id is this id.

link_offerobject nullable

A Salt account whose verified email is this address: an offer only, linking is always POST.../mail_contacts/{id}/link.

Changes

No recorded changes to this operation across all 3 revisions of this API.