Open API test

Agent API

Checks health status

get

Available on Agent 2.57.0 and above.

Returns the connectivity status of your Agent server. If your Agent server is started and running, the status value will be UP

Responses
chevron-right
200

Agent application is alive.

application/json
get
/v3/health
200

Agent application is alive.

Checks health status of services and users

get

Available on Agent 2.57.0 and above.

Returns the connectivity status of the Agent services (pod, key manager and datafeed) as well as users connectivity (agentservice and ceservice).

The global status will be set to DOWN if at least one of the sub-status is also DOWN.

Responses
chevron-right
200

Agent is healthy, all components are UP.

application/json
get
/v3/health/extended

Import messages from other systems into Symphony.

post

Sends a message to be imported into the system. Allows you to override the timestamp and author of the message with your desired values. The requesting user must have the Content Management role. The user that the message is intended to have come from must also be present in the conversation. The intended message timestamp must be a valid time from the past. It cannot be a future timestamp. Optionally the original message ID can be specified to identify the imported message for the purpose of repeat imports.

Header parameters
sessionTokenstringRequired

Session authentication token.

keyManagerTokenstringRequired

Key Manager authentication token.

Bodyobject[]

An ordered list of historic messages to be imported. A list of import responses will be returned in the same order.

messagestring · MessageMLRequired

Message text in MessageMLV2

datastring · JSONOptional

Entity data in EntityJSON

intendedMessageTimestampinteger · int64Required

The timestamp representing the time when the message was sent in the original system in milliseconds since Jan 1st 1970.

intendedMessageFromUserIdinteger · int64Required

The long integer userid of the Symphony user who you intend to show sent the message.

originatingSystemIdstringRequired

The ID of the system through which the message was originally sent.

originalMessageIdstringOptional

The ID of the message in the original system.

streamIdstringRequired
Responses
chevron-right
200

Message sent.

application/json
post
/v4/message/import

Post a message to multiple existing streams.

post

Post a new message to the given list of streams. The stream can be a chatroom, an IM or a multiparty IM.

You may include an attachment on the message.

The message can be provided as MessageMLV2 or PresentationML. Both formats support Freemarker templates.

The optional parameter "data" can be used to provide a JSON payload containing entity data. If the message contains explicit references to entity data (in "data-entity-id" element attributes), this parameter is required.

If the message is in MessageML and fails schema validation a client error results

This endpoint is idempotent, it means that a 200 response will be returned even if the message has not been delivered to some streams. Check the errors map from the response in order to see on which stream(s) the message has not been delivered.

The maximum number of streams where the message can be sent is limitted to 100.

Regarding authentication, you must either use the sessionToken which was created for delegated app access or both the sessionToken and keyManagerToken together.

Header parameters
sessionTokenstringRequired

Authorization token used to make delegated calls.

keyManagerTokenstringOptional

Key Manager authentication token.

Body
sidsstring[]Required

A comma-separated list of Stream IDs

messagestringOptional

The message payload in MessageML.

datastringOptional

Optional message data in EntityJSON.

versionstringOptional

Optional message version in the format "major.minor". If empty, defaults to the latest supported version.

attachmentstring · binaryOptional

Optional file attachment.

previewstring · binaryOptional

Optional attachment preview.

Responses
chevron-right
200

Blast message sent.

application/json
post
/v4/message/blast

Get a message by ID

get
Path parameters
idstringRequired

Message ID as a URL-safe string

Header parameters
sessionTokenstringRequired

Session authentication token.

keyManagerTokenstringRequired

Key Manager authentication token.

Responses
chevron-right
200

OK

application/json
get
/v1/message/{id}

UPDATED: PodAPI

List all trusted certs

get
Query parameters
skipintegerOptional

Pagination start

limitintegerOptional

Row limit

Header parameters
sessionTokenstringRequired

Session authentication token.

Responses
chevron-right
200

Success

application/json
get
/v1/companycert/list

Create a company trusted or untrusted certificate. Different from V1 in that we reject expired certificates.

post
Header parameters
sessionTokenstringRequired

Session authentication token.

Body
pemstringOptional

An X509 certificate in PEM format

Example: -----BEGIN CERTIFICATE-----MIIH/TC...p9DBiB/-----END CERTIFICATE-----
Responses
chevron-right
200

Success

application/json
post
/v2/companycert/create

Delete a company certificate

post
Header parameters
sessionTokenstringRequired

Session authentication token.

Body
idstringOptionalExample: xhGxbTcvTDK6EIMMrwdOrX___quztr2HdA
Responses
chevron-right
200

Success

application/json
post
/v1/companycert/delete

Get the details of a company certificate

get
Path parameters
fingerPrintstringRequired

Certificate fingerPrint (ID)

Header parameters
sessionTokenstringRequired

Session authentication token.

Responses
chevron-right
200

Success

application/json
get
/v1/companycert/{fingerPrint}/get

Update a company certificate

post
Path parameters
fingerPrintstringRequired

Certificate fingerPrint (ID)

Header parameters
sessionTokenstringRequired

Session authentication token.

Body
namestringOptional

Friendly name assigned by administrator

Example: agentservice
Responses
chevron-right
200

Success

application/json
post
/v1/companycert/{fingerPrint}/update

Last updated

Was this helpful?