Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
version: 20.17.1
title: Pod Session API
description: 'This document refers to Symphony API calls that do not need
encryption or decryption of content.
- sessionToken can be obtained by calling the
authenticationAPI on the symphony back end and the key manager
respectively. Refer to the methods described in authenticatorAPI.yaml.
- Actions are defined to be atomic, ie will succeed in their entirety
or fail and have changed nothing.
- If it returns a 40X status then it will have made no change to the
system even if ome subset of the request would have succeeded.
- If this contract cannot be met for any reason then this is an error
and the response code will be 50X.
'
servers:
- url: https://yourpodURL.symphony.com/pod
tags:
- name: Session
paths:
/v2/sessioninfo:
get:
summary: Get information about the current user's session.
parameters:
- name: sessionToken
description: Session authentication token.
in: header
required: true
schema:
type: string
tags:
- Session
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/UserV2'
'400':
description: Client error, see response body for further details.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
code: 400
message: // Client error, see response body for further details.
'401':
description: 'Unauthorized: Invalid session token.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
code: 401
message: Invalid session
'403':
description: 'Forbidden: Caller lacks necessary entitlement.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
code: 403
message: The user lacks the required entitlement to perform this operation
'500':
description: Server error, see response body for further details.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
code: 500
message: // Server error, see response body for further details.
components:
schemas:
Error:
type: object
properties:
code:
type: integer
format: int32
example: 401
message:
type: string
example: Invalid session
Avatar:
type: object
properties:
size:
description: The Avatar Size
type: string
example: original
url:
description: Url of the image
type: string
example: ../avatars/izcQTdRVFOK_qhCrYeQOpIuHKuZuMk3J88Uz_bShzM8.png
StringList:
type: array
items:
type: string
example:
- ftp
- mailto
- fdsup
- skype
AvatarList:
type: array
items:
$ref: '#/components/schemas/Avatar'
example:
- size: original
url: ../avatars/izcQTdRVFOK_qhCrYeQOpIuHKuZuMk3J88Uz_bShzM8.png
- size: small
url: ../avatars/izcQTdRVFOK_qhCrYeQOpIuHKuZuMk3J88Uz_bShzM8_small.png
UserV2:
description: User record version 2
type: object
properties:
id:
type: integer
format: int64
example: 7696581394433
emailAddress:
type: string
format: email
example: admin@symphony.com
firstName:
type: string
example: Symphony
lastName:
type: string
example: Admin
displayName:
type: string
example: Symphony Admin
title:
type: string
example: Administrator
company:
type: string
example: Acme
username:
type: string
example: admin@symphony.com
location:
type: string
example: California
accountType:
type: string
enum:
- NORMAL
- SYSTEM
- SDL
example: NORMAL
avatars:
$ref: '#/components/schemas/AvatarList'
workPhoneNumber:
type: string
description: 'Note: only available if the application has the extended user or contact permission'
example: '+33901020304'
mobilePhoneNumber:
type: string
description: 'Note: only available if the application has the extended user or contact permission'
example: '+33601020304'
jobFunction:
type: string
description: 'Note: only available if the application has the extended user or contact permission'
example: Sales
department:
type: string
description: 'Note: only available if the application has the extended user or contact permission'
example: APIs
division:
type: string
description: 'Note: only available if the application has the extended user or contact permission'
example: Partnerships
roles:
$ref: '#/components/schemas/StringList'
example:
- INDIVIDUAL
- SUPER_ADMINISTRATOR
userMetadata:
type: object
description: Metadata map of key/values
additionalProperties:
type: object
example:
com_symphony_metadataKey1: value
com_symphony_metadataKey2:
- value1
- value2