The Mon Petit Placement REST API offers access and control over all Mon Petit Placement data.
All resources that you will most likely use are prefixed with a star symbol (⭐).
While integrating the REST API, you may be interested in the following guides:
Basein Team
Check If Team Exists
Checks if given team exists (by domain).
The team domain to check against
- HEADhttps://api.acme.com/v1/team
- Tiersuserapp
(loading)
(loading)
Create Team
Creates a new team.
Team name
Team domain
- POSThttps://api.acme.com/v1/team
- Tiersuser
(loading)
(loading)
Get A Team
Resolves an existing team information.
The team identifier
Team identifier
Team name
Team domain
- GEThttps://api.acme.com/v1/team/team_id
- Tiersuserapp
(loading)
(loading)
Delete A Team
Deletes an existing team.
The team identifier
User password (used to double-authenticate deletion)
- DELETEhttps://api.acme.com/v1/team/team_id
- Tiersuser
(loading)
(loading)
Conversationsin Team
⭐ List Conversations
Lists conversations for team.
The team identifier
Page number for conversations paging
Search query in all conversations (text if type is text
or segment
, filter if type is filter
)
Search type (either text
, segment
or filter
)
Search operator if search type is filter
(or
or and
respectful to boolean algebra, defaults to and
if not set)
Session identifier
Team identifier
People identifier
Conversation state
Values
pending
unresolved
resolved
Conversation status (an alias of state; useful for sorting conversations)
Values
1
2
Whether session is verified or not (user email ownership is authenticated)
Whether session is blocked or not (block messages from visitor)
Visitor availability
Values
online
offline
User activity statistics
Whether user is considered active right now or not
Timestamp at which the user was last active
Last message excerpt
External participants for this conversation
External participant type
Values
email
External participant target (ie. email address, identifier, etc.)
Mentioned user identifiers (from conversation messages)
Conversation creation timestamp
Conversation update timestamp
Compose states
Compose state for operator
Compose state type
Values
start
stop
Message excerpt for compose state
Timestamp for compose state
Compose user information
Compose user identifier
Compose user nickname
Compose user avatar
Compose state for visitor
Compose state type
Values
start
stop
Message excerpt for compose state
Timestamp for compose state
Unread messages counters
Unread messages counter for operator
Unread messages counter for visitor
Assigned operator (if any)
Operator user identifier
Meta-data for conversation
Visitor nickname
Visitor email
Visitor phone
Visitor address
Visitor IP address
Visitor data
Visitor avatar
Device information
Visitor device capabilities
Values
browsing
call
Geolocation information for visitor device
Country code
Region code
City name
Location coordinates
Latitude coordinate
Longitude coordinate
Visitor device system information
Operating system information
OS version
OS name
Rendering engine information
Engine version
Engine name
Browser information
Browser major version (eg: version 8.1 has a major of 8)
Browser version
Browser name
Visitor user agent
Visitor device timezone offset (UTC)
Visitor device locales
Segments attributed to conversation
- GEThttps://api.acme.com/v1/team/team_id/conversations/page_number
- Tiersuserapp
- Scopesteam:conversation:sessions
(loading)
(loading)
Basein User
Get Connected User
Resolves a connected user information.
"/v1/contexts/User"
IRI
"User"
Team identifier
Team name
Team domain
- GEThttps://api.acme.com/v1/me
- Tiersuserapp
(loading)
(loading)