Emails

Get Email

This endpoint retrieves data of a specific Email based on JSON input. The API returns a single Email available to the user, according to the unique ID provided. If the specified Email does not exist, the response will be a "bad request".

You will only receive the Email after first providing the Session Key. To know how you can obtain the Session Key, go to Authentication.

HEADERS

ParameterValueDescription
Content-Typeapplication/jsonLanguage in which all request and response bodies are encoded
Accept*/*Any data of whatever mime type is accepted
X-Session-KeyAUTH_TOKENThis field must be completed with the token obtained at the authentication

REQUEST

ParameterTypeDescription
idIntegerThe unique and specific identifier of the Email

RESPONSE

This endpoint returns information about all Emails available in the database.

List of the supported Emails attributes:

AttributeTypeDescription
accountIdObject, NullAccount to which the Email is linked to
attachmentsObject (Array), NullAttachment's lists
bodyStringEmail's content
contactIdObject, NullContact to which the Email is linked to
dateObjectJSONObject with the time, timestamp and timeZone attributes
dateCreatedStringDate and time when the Email was created
dateDeletedStringDate and time when the Email was deleted
dateUpdatedStringDate and time when the Email was last updated
deletedBooleanIf true, the Email has been deleted and archived
emailFromStringEmail of the person who's sending the email
emailToArrayList of Emails, that will receive the mail
extIdStringExternal ID of the Email from a third party system (ERP, CRM, Accounting System)
idIntegerUnique identifier for the Email in ForceManager
mailFolderStringFolder to which the mail belongs. (For example: Inbox)
opportunityIdObject, NullOpportunity to which the Email is linked to
salesRepIdObject, NullId of the User responsible for the Email
salesRepIdCreatedIntegerUnique identifier of the User who created the Email
salesRepIdDeletedIntegerUnique identifier of the User who deleted the Email
salesRepIdUpdatedIntegerUnique identifier of the User who updated the Email
subjectStringEmail's subject
typeInteger0 -> outgoing email and 1 -> incoming email

List of the supported Attachments attributes:

AttributeTypeDescription
idIntegerUnique identifier for the Attachment in ForceManager
nameStringAttachment name (include the file type (.pdf, xls...))

RESPONSE CODES

StatusDescription
200 OKShows if operation succeeded
400 Bad RequestShows when an invalid request or the requested service is not available
get/emails/{ID}

Request

  • Base URL: https://api.forcemanager.com/api/v4
  • URL: https://api.forcemanager.com/api/v4/emails/{ID}
  • Auth: API key in header X-Session-Key

Headers

Acceptstring

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.