Conversation API
The Vonage Conversation API enables you to build conversation features where communication can take place across multiple mediums including IP Messaging, PSTN Voice, SMS and WebRTC Audio and Video. The context of the conversations is maintained though each communication event taking place within a conversation, no matter the medium.
List conversations
Please note that not all data is available in the list endpoint. Once you've identified the conversation you need to work with, use the GET /conversations/:id endpoint to fetch all of the conversation details
Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
Query Parameters
2018-01-01 10:00:00Return the records that occurred after this point in time.
2018-01-01 12:00:00Return the records that occurred before this point in time.
11001010Return this amount of records in the response
ascReturn the records in ascending or descending order.
ascdescASCDESCThe cursor to start returning results from.
You are not expected to provide this manually, but to follow the url provided in _links.next.href or _links.prev.href in the response which contains a cursor value.
11001010The amount of records returned in this response
A list of conversation objects. See the get details of a specific conversation response fields for a description of the nested objects
List of conversations matching the provided filter
CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9aThe unique identifier for this conversation
100customer_chatYour internal conversation name. Must be unique
Customer ChatThe public facing name of the conversation
2048https://example.com/image.pngAn image URL that you associate with the conversation
2019-09-03T18:40:24.324ZThe time that the conversation was created
https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9aA series of links between resources in this API in the http://stateless.co/hal_specification.html.
https://api.nexmo.com/v0.3/conversations?order=desc&page_size=10https://api.nexmo.com/v0.3/conversations?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3Dhttps://api.nexmo.com/v0.3/conversations?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3Dhttps://api.nexmo.com/v0.3/conversations?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3DExample Response
{
"page_size": 10,
"_embedded": {
"conversations": [
{
"id": "CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a",
"name": "customer_chat",
"display_name": "Customer Chat",
"image_url": "https://example.com/image.png",
"timestamp": {
"created": "2019-09-03T18:40:24.324Z"
},
"_links": {
"self": {
"href": "https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a"
}
}
}
]
},
"_links": {
"first": {
"href": "https://api.nexmo.com/v0.3/conversations?order=desc&page_size=10"
},
"self": {
"href": "https://api.nexmo.com/v0.3/conversations?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3D"
},
"next": {
"href": "https://api.nexmo.com/v0.3/conversations?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3D"
},
"prev": {
"href": "https://api.nexmo.com/v0.3/conversations?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3D"
}
}
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
100customer_chatYour internal conversation name. Must be unique
Customer ChatThe public facing name of the conversation
2048https://example.com/image.pngAn image URL that you associate with the conversation
Conversation properties
60Time to leave. After how many seconds an empty conversation is deleted.
[
{
"type": "phone",
"number": "447700900000"
},
{
"type": "sip",
"uri": "sip:+Htg:;xa",
"username": "string",
"password": "string"
},
{
"type": "app",
"user": "string"
},
{
"type": "websocket",
"uri": "ws://example.com:8080",
"content_type": "string"
},
{
"type": "vbc",
"extension": "447700900000"
}
]An array containing number on different channels.
POSTGETExample Request
{
"name": "customer_chat",
"display_name": "Customer Chat",
"image_url": "https://example.com/image.png",
"properties": {
"ttl": 60,
"type": "string",
"custom_data": {
"property1": "string",
"property2": "string"
}
},
"numbers": [
{
"type": "phone",
"number": "447700900000"
},
{
"type": "sip",
"uri": "sip:+Htg:;xa",
"username": "string",
"password": "string"
},
{
"type": "app",
"user": "string"
},
{
"type": "websocket",
"uri": "ws://example.com:8080",
"content_type": "string"
},
{
"type": "vbc",
"extension": "447700900000"
}
],
"callback": {
"url": "http://example.com",
"event_mask": "string",
"params": {
"applicationId": "string",
"ncco_url": "http://example.com"
},
"method": "POST"
}
}{
"name": "customer_chat",
"display_name": "Customer Chat",
"image_url": "https://example.com/image.png",
"properties": {
"ttl": 60,
"type": "string",
"custom_data": {
"property1": "string",
"property2": "string"
}
},
"numbers": [
{
"type": "phone",
"number": "447700900000"
},
{
"type": "sip",
"uri": "sip:+Htg:;xa",
"username": "string",
"password": "string"
},
{
"type": "app",
"user": "string"
},
{
"type": "websocket",
"uri": "ws://example.com:8080",
"content_type": "string"
},
{
"type": "vbc",
"extension": "447700900000"
}
],
"callback": {
"url": "http://example.com",
"event_mask": "string",
"params": {
"applicationId": "string",
"ncco_url": "http://example.com"
},
"method": "POST"
}
}CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9aThe unique identifier for this conversation
100customer_chatYour internal conversation name. Must be unique
Customer ChatThe public facing name of the conversation
2048https://example.com/image.pngAn image URL that you associate with the conversation
ACTIVEThe state the conversation is in.
The last Event ID in this conversation. This ID can be used to retrieve a specific event.
2019-09-03T18:40:24.324ZThe time that the conversation was created
Conversation properties
60Time to leave. After how many seconds an empty conversation is deleted.
https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9aExample Response
{
"id": "CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a",
"name": "customer_chat",
"display_name": "Customer Chat",
"image_url": "https://example.com/image.png",
"state": "ACTIVE",
"sequence_number": 0,
"timestamp": {
"created": "2019-09-03T18:40:24.324Z"
},
"properties": {
"ttl": 60,
"type": "string",
"custom_data": {
"property1": "string",
"property2": "string"
}
},
"numbers": {},
"_links": {
"self": {
"href": "https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a"
}
}
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9aThe unique identifier for this conversation
100customer_chatYour internal conversation name. Must be unique
Customer ChatThe public facing name of the conversation
2048https://example.com/image.pngAn image URL that you associate with the conversation
ACTIVEThe state the conversation is in.
The last Event ID in this conversation. This ID can be used to retrieve a specific event.
2019-09-03T18:40:24.324ZThe time that the conversation was created
Conversation properties
60Time to leave. After how many seconds an empty conversation is deleted.
https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9aExample Response
{
"id": "CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a",
"name": "customer_chat",
"display_name": "Customer Chat",
"image_url": "https://example.com/image.png",
"state": "ACTIVE",
"sequence_number": 0,
"timestamp": {
"created": "2019-09-03T18:40:24.324Z"
},
"properties": {
"ttl": 60,
"type": "string",
"custom_data": {
"property1": "string",
"property2": "string"
}
},
"numbers": {},
"_links": {
"self": {
"href": "https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a"
}
}
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
100customer_chatYour internal conversation name. Must be unique
Customer ChatThe public facing name of the conversation
2048https://example.com/image.pngAn image URL that you associate with the conversation
Conversation properties
60Time to leave. After how many seconds an empty conversation is deleted.
[
{
"type": "phone",
"number": "447700900000"
},
{
"type": "sip",
"uri": "sip:+Htg:;xa",
"username": "string",
"password": "string"
},
{
"type": "app",
"user": "string"
},
{
"type": "websocket",
"uri": "ws://example.com:8080",
"content_type": "string"
},
{
"type": "vbc",
"extension": "447700900000"
}
]An array containing number on different channels.
POSTGETExample Request
{
"name": "customer_chat",
"display_name": "Customer Chat",
"image_url": "https://example.com/image.png",
"properties": {
"ttl": 60,
"type": "string",
"custom_data": {
"property1": "string",
"property2": "string"
}
},
"numbers": [
{
"type": "phone",
"number": "447700900000"
},
{
"type": "sip",
"uri": "sip:+Htg:;xa",
"username": "string",
"password": "string"
},
{
"type": "app",
"user": "string"
},
{
"type": "websocket",
"uri": "ws://example.com:8080",
"content_type": "string"
},
{
"type": "vbc",
"extension": "447700900000"
}
],
"callback": {
"url": "http://example.com",
"event_mask": "string",
"params": {
"applicationId": "string",
"ncco_url": "http://example.com"
},
"method": "POST"
}
}{
"name": "customer_chat",
"display_name": "Customer Chat",
"image_url": "https://example.com/image.png",
"properties": {
"ttl": 60,
"type": "string",
"custom_data": {
"property1": "string",
"property2": "string"
}
},
"numbers": [
{
"type": "phone",
"number": "447700900000"
},
{
"type": "sip",
"uri": "sip:+Htg:;xa",
"username": "string",
"password": "string"
},
{
"type": "app",
"user": "string"
},
{
"type": "websocket",
"uri": "ws://example.com:8080",
"content_type": "string"
},
{
"type": "vbc",
"extension": "447700900000"
}
],
"callback": {
"url": "http://example.com",
"event_mask": "string",
"params": {
"applicationId": "string",
"ncco_url": "http://example.com"
},
"method": "POST"
}
}CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9aThe unique identifier for this conversation
100customer_chatYour internal conversation name. Must be unique
Customer ChatThe public facing name of the conversation
2048https://example.com/image.pngAn image URL that you associate with the conversation
ACTIVEThe state the conversation is in.
The last Event ID in this conversation. This ID can be used to retrieve a specific event.
2019-09-03T18:40:24.324ZThe time that the conversation was created
Conversation properties
60Time to leave. After how many seconds an empty conversation is deleted.
https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9aExample Response
{
"id": "CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a",
"name": "customer_chat",
"display_name": "Customer Chat",
"image_url": "https://example.com/image.png",
"state": "ACTIVE",
"sequence_number": 0,
"timestamp": {
"created": "2019-09-03T18:40:24.324Z"
},
"properties": {
"ttl": 60,
"type": "string",
"custom_data": {
"property1": "string",
"property2": "string"
}
},
"numbers": {},
"_links": {
"self": {
"href": "https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a"
}
}
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
Available Operations
List user conversations
Please note that not all data is available in the list endpoint. Once you've identified the conversation you need to work with, use the GET /conversations/:id endpoint to fetch all of the conversation details
Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
Query Parameters
INVITEDJOINEDLEFT2018-01-01 10:00:00Return the records that occurred after this point in time.
11001010Return this amount of records in the response
ascReturn the records in ascending or descending order.
ascdescASCDESCThe cursor to start returning results from.
You are not expected to provide this manually, but to follow the url provided in _links.next.href or _links.prev.href in the response which contains a cursor value.
11001010The amount of records returned in this response
A list of conversation objects. See the get details of a specific conversation response fields for a description of the nested objects
List of conversations matching the provided filter
CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9aThe unique identifier for this conversation
100customer_chatYour internal conversation name. Must be unique
Customer ChatThe public facing name of the conversation
2048https://example.com/image.pngAn image URL that you associate with the conversation
2019-09-03T18:40:24.324ZThe time that the conversation was created
https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9aA series of links between resources in this API in the http://stateless.co/hal_specification.html.
https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/conversations?order=desc&page_size=10https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/conversations?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3Dhttps://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/conversations?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3Dhttps://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/conversations?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3DExample Response
{
"page_size": 10,
"_embedded": {
"conversations": [
{
"id": "CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a",
"name": "customer_chat",
"display_name": "Customer Chat",
"image_url": "https://example.com/image.png",
"timestamp": {
"created": "2019-09-03T18:40:24.324Z"
},
"_links": {
"self": {
"href": "https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a"
}
}
}
]
},
"_links": {
"self": {
"first": {
"href": "https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/conversations?order=desc&page_size=10"
},
"self": {
"href": "https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/conversations?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3D"
},
"next": {
"href": "https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/conversations?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3D"
},
"prev": {
"href": "https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/conversations?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3D"
}
}
}
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
Query Parameters
11001010Return this amount of records in the response
ascReturn the records in ascending or descending order.
ascdescASCDESCThe cursor to start returning results from.
You are not expected to provide this manually, but to follow the url provided in _links.next.href or _links.prev.href in the response which contains a cursor value.
11001010The amount of records returned in this response
A list of session objects.
List of session matching the provided filter
SES-63f61863-4a51-4f6b-86e1-46edebio0391USR-82e028d9-5201-4f1e-8188-604b2d3471ecUser ID
my_user_nameUnique name for a user
A series of links between resources in this API in the http://stateless.co/hal_specification.html.
https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/sessions?order=desc&page_size=10https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/sessions?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3Dhttps://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/sessions?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3Dhttps://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/sessions?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3DExample Response
{
"page_size": 10,
"_embedded": {
"sessions": [
{
"id": "SES-63f61863-4a51-4f6b-86e1-46edebio0391",
"_embedded": {
"user": {
"id": "USR-82e028d9-5201-4f1e-8188-604b2d3471ec",
"name": "my_user_name"
},
"api_key": "string"
},
"properties": {
"ttl": 0
}
}
]
},
"_links": {
"self": {
"first": {
"href": "https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/sessions?order=desc&page_size=10"
},
"self": {
"href": "https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/sessions?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3D"
},
"next": {
"href": "https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/sessions?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3D"
},
"prev": {
"href": "https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec/sessions?order=desc&page_size=10&cursor=7EjDNQrAcipmOnc0HCzpQRkhBULzY44ljGUX4lXKyUIVfiZay5pv9wg%3D"
}
}
}
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
Query Parameters
11001010Return this amount of records in the response
ascReturn the records in ascending or descending order.
ascdescASCDESCThe cursor to start returning results from.
You are not expected to provide this manually, but to follow the url provided in _links.next.href or _links.prev.href in the response which contains a cursor value.
10The number of results returned on this page
List of members matching the provided filter
MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID
LEFTThe state that the member is in. Possible values are INVITED, JOINED, LEFT, or UNKNOWN
INVITEDJOINEDLEFTUNKNOWNUSR-82e028d9-5201-4f1e-8188-604b2d3471ecUser ID
my_user_nameUnique name for a user
My User NameA string to be displayed as user name. It does not need to be unique
https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471echttps://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/members/MEM-63f61863-4a51-4f6b-86e1-46edebio0391A link towards a member included in Conversation API
https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a/members?order=desc&page_size=10https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a/members?order=desc&page_size=10&cursor=88b395c167da4d94e929705cbd63b82973771e7d390d274a58e301386d5762600a3ffd799bfb3fc5190c5a0d124cdd0fc72fe6e450506b18e4e2edf9fe84c7a0https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a/members?order=desc&page_size=10&cursor=88b395c167da4d94e929705cbd63b829a650e69a39197bfd4c949f4243f60dc4babb696afa404d2f44e7775e32b967f2a1a0bb8fb259c0999ba5a4e501eaab55https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a/members?order=desc&page_size=10&cursor=069626a3de11d2ec900dff5042197bd75f1ce41dafc3f2b2481eb9151086e59aae9dba3e3a8858dc355232d499c310fbfbec43923ff657c0de8d49ffed9f7edbExample Response
{
"page_size": 10,
"_embedded": {
"members": [
{
"id": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391",
"state": "LEFT",
"_embedded": {
"user": {
"id": "USR-82e028d9-5201-4f1e-8188-604b2d3471ec",
"name": "my_user_name",
"display_name": "My User Name",
"_links": {
"self": {
"href": "https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec"
}
}
}
},
"_links": {
"href": "https://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/members/MEM-63f61863-4a51-4f6b-86e1-46edebio0391"
}
}
]
},
"_links": {
"first": {
"href": "https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a/members?order=desc&page_size=10"
},
"self": {
"href": "https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a/members?order=desc&page_size=10&cursor=88b395c167da4d94e929705cbd63b82973771e7d390d274a58e301386d5762600a3ffd799bfb3fc5190c5a0d124cdd0fc72fe6e450506b18e4e2edf9fe84c7a0"
},
"next": {
"href": "https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a/members?order=desc&page_size=10&cursor=88b395c167da4d94e929705cbd63b829a650e69a39197bfd4c949f4243f60dc4babb696afa404d2f44e7775e32b967f2a1a0bb8fb259c0999ba5a4e501eaab55"
},
"prev": {
"href": "https://api.nexmo.com/v0.3/conversations/CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a/members?order=desc&page_size=10&cursor=069626a3de11d2ec900dff5042197bd75f1ce41dafc3f2b2481eb9151086e59aae9dba3e3a8858dc355232d499c310fbfbec43923ff657c0de8d49ffed9f7edb"
}
}
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
invitedInvite or join a member to a conversation
invitedjoinedEither the user id or name is required.
USR-82e028d9-5201-4f1e-8188-604b2d3471ecUser ID
my_user_nameUnique name for a user
A user who joins a conversation as a member can have one channel per membership type. Channels can be app, phone, sip, websocket, or vbc
phoneChannel type
appphonesipwebsocketvbca595959595959595995The id of the leg. rtc_id and call_id are leg id
appThe type of connection. Must be app
jamieThe username to connect to
appThe type of connection. Must be app
jamieThe username to connect to
Leg ids associated with this Channel. The first item in the array represents the main active Leg. The second item, if exists, represents a screen-share Leg.
a595959595959595995The id of the leg. rtc_id and call_id are leg id
Media Object
a972836a-450f-35fa-156c-52a2ab5b7d25Knocker ID. A knocker is a pre-member of a conversation who does not exist yet
MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID of the member that sends the invitation
Example Request
{
"state": "invited",
"user": {
"id": "USR-82e028d9-5201-4f1e-8188-604b2d3471ec",
"name": "my_user_name"
},
"channel": {
"type": "phone",
"leg_id": "a595959595959595995",
"from": {
"type": "app",
"user": "jamie"
},
"to": {
"type": "app",
"user": "jamie"
},
"leg_ids": [
{
"leg_id": "a595959595959595995"
}
]
},
"media": {
"audio_settings": {
"enabled": false,
"earmuffed": false,
"muted": false
}
},
"knocking_id": "a972836a-450f-35fa-156c-52a2ab5b7d25",
"member_id_inviting": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391"
}{
"state": "invited",
"user": {
"id": "USR-82e028d9-5201-4f1e-8188-604b2d3471ec",
"name": "my_user_name"
},
"channel": {
"type": "phone",
"leg_id": "a595959595959595995",
"from": {
"type": "app",
"user": "jamie"
},
"to": {
"type": "app",
"user": "jamie"
},
"leg_ids": [
{
"leg_id": "a595959595959595995"
}
]
},
"media": {
"audio_settings": {
"enabled": false,
"earmuffed": false,
"muted": false
}
},
"knocking_id": "a972836a-450f-35fa-156c-52a2ab5b7d25",
"member_id_inviting": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391"
}MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID
CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9aThe unique identifier for this conversation
USR-82e028d9-5201-4f1e-8188-604b2d3471ecUser ID
my_user_nameUnique name for a user
My User NameA string to be displayed as user name. It does not need to be unique
https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec[
"LEFT",
"INVITED"
]The state that the member is in. Possible values are INVITED, JOINED, LEFT, or UNKNOWN
INVITEDJOINEDLEFTUNKNOWN2020-01-01T14:00:00.00ZTimestamp
2020-01-01T14:00:00.00ZTimestamp
2020-01-01T14:00:00.00ZTimestamp
true if the user was invited by an admin JWT. user_id and member_id will not exist if true
USR-82e028d9-5201-4f1e-8188-604b2d3471ecUser ID
MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID
A user who joins a conversation as a member can have one channel per membership type. Channels can be app, phone, sip, websocket, or vbc
phoneChannel type
appphonesipwebsocketvbca595959595959595995The id of the leg. rtc_id and call_id are leg id
appThe type of connection. Must be app
jamieThe username to connect to
appThe type of connection. Must be app
jamieThe username to connect to
Leg ids associated with this Channel. The first item in the array represents the main active Leg. The second item, if exists, represents a screen-share Leg.
a595959595959595995The id of the leg. rtc_id and call_id are leg id
{
"audio_settings": {
"enabled": false,
"earmuffed": false,
"muted": false
}
}Media Object
https://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/members/MEM-63f61863-4a51-4f6b-86e1-46edebio0391A link towards a member included in Conversation API
Example Response
{
"id": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391",
"conversation_id": "CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a",
"_embedded": {
"user": {
"id": "USR-82e028d9-5201-4f1e-8188-604b2d3471ec",
"name": "my_user_name",
"display_name": "My User Name",
"_links": {
"self": {
"href": "https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec"
}
}
}
},
"state": "INVITED",
"timestamp": {
"invited": "2020-01-01T14:00:00.00Z",
"joined": "2020-01-01T14:00:00.00Z",
"left": "2020-01-01T14:00:00.00Z"
},
"initiator": {
"joined": {
"isSystem": true,
"user_id": "USR-82e028d9-5201-4f1e-8188-604b2d3471ec",
"member_id": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391"
}
},
"channel": {
"type": "phone",
"leg_id": "a595959595959595995",
"from": {
"type": "app",
"user": "jamie"
},
"to": {
"type": "app",
"user": "jamie"
},
"leg_ids": [
{
"leg_id": "a595959595959595995"
}
]
},
"media": {
"audio_settings": {
"enabled": false,
"earmuffed": false,
"muted": false
}
},
"_links": {
"href": "https://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/members/MEM-63f61863-4a51-4f6b-86e1-46edebio0391"
}
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID
CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9aThe unique identifier for this conversation
USR-82e028d9-5201-4f1e-8188-604b2d3471ecUser ID
my_user_nameUnique name for a user
My User NameA string to be displayed as user name. It does not need to be unique
https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec[
"LEFT",
"JOINED"
]The state that the member is in. Possible values are INVITED, JOINED, LEFT, or UNKNOWN
INVITEDJOINEDLEFTUNKNOWN2020-01-01T14:00:00.00ZTimestamp
2020-01-01T14:00:00.00ZTimestamp
2020-01-01T14:00:00.00ZTimestamp
true if the user was invited by an admin JWT. user_id and member_id will not exist if true
USR-82e028d9-5201-4f1e-8188-604b2d3471ecUser ID
MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID
A user who joins a conversation as a member can have one channel per membership type. Channels can be app, phone, sip, websocket, or vbc
phoneChannel type
appphonesipwebsocketvbca595959595959595995The id of the leg. rtc_id and call_id are leg id
appThe type of connection. Must be app
jamieThe username to connect to
appThe type of connection. Must be app
jamieThe username to connect to
Leg ids associated with this Channel. The first item in the array represents the main active Leg. The second item, if exists, represents a screen-share Leg.
a595959595959595995The id of the leg. rtc_id and call_id are leg id
{
"audio_settings": {
"enabled": false,
"earmuffed": false,
"muted": false
}
}Media Object
https://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/members/MEM-63f61863-4a51-4f6b-86e1-46edebio0391A link towards a member included in Conversation API
Example Response
{
"id": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391",
"conversation_id": "CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a",
"_embedded": {
"user": {
"id": "USR-82e028d9-5201-4f1e-8188-604b2d3471ec",
"name": "my_user_name",
"display_name": "My User Name",
"_links": {
"self": {
"href": "https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec"
}
}
}
},
"state": "JOINED",
"timestamp": {
"invited": "2020-01-01T14:00:00.00Z",
"joined": "2020-01-01T14:00:00.00Z",
"left": "2020-01-01T14:00:00.00Z"
},
"initiator": {
"joined": {
"isSystem": true,
"user_id": "USR-82e028d9-5201-4f1e-8188-604b2d3471ec",
"member_id": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391"
}
},
"channel": {
"type": "phone",
"leg_id": "a595959595959595995",
"from": {
"type": "app",
"user": "jamie"
},
"to": {
"type": "app",
"user": "jamie"
},
"leg_ids": [
{
"leg_id": "a595959595959595995"
}
]
},
"media": {
"audio_settings": {
"enabled": false,
"earmuffed": false,
"muted": false
}
},
"_links": {
"href": "https://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/members/MEM-63f61863-4a51-4f6b-86e1-46edebio0391"
}
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID
CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9aThe unique identifier for this conversation
USR-82e028d9-5201-4f1e-8188-604b2d3471ecUser ID
my_user_nameUnique name for a user
My User NameA string to be displayed as user name. It does not need to be unique
https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec[
"LEFT",
"JOINED"
]The state that the member is in. Possible values are INVITED, JOINED, LEFT, or UNKNOWN
INVITEDJOINEDLEFTUNKNOWN2020-01-01T14:00:00.00ZTimestamp
2020-01-01T14:00:00.00ZTimestamp
2020-01-01T14:00:00.00ZTimestamp
true if the user was invited by an admin JWT. user_id and member_id will not exist if true
USR-82e028d9-5201-4f1e-8188-604b2d3471ecUser ID
MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID
A user who joins a conversation as a member can have one channel per membership type. Channels can be app, phone, sip, websocket, or vbc
phoneChannel type
appphonesipwebsocketvbca595959595959595995The id of the leg. rtc_id and call_id are leg id
appThe type of connection. Must be app
jamieThe username to connect to
appThe type of connection. Must be app
jamieThe username to connect to
Leg ids associated with this Channel. The first item in the array represents the main active Leg. The second item, if exists, represents a screen-share Leg.
a595959595959595995The id of the leg. rtc_id and call_id are leg id
{
"audio_settings": {
"enabled": false,
"earmuffed": false,
"muted": false
}
}Media Object
https://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/members/MEM-63f61863-4a51-4f6b-86e1-46edebio0391A link towards a member included in Conversation API
Example Response
{
"id": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391",
"conversation_id": "CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a",
"_embedded": {
"user": {
"id": "USR-82e028d9-5201-4f1e-8188-604b2d3471ec",
"name": "my_user_name",
"display_name": "My User Name",
"_links": {
"self": {
"href": "https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec"
}
}
}
},
"state": "JOINED",
"timestamp": {
"invited": "2020-01-01T14:00:00.00Z",
"joined": "2020-01-01T14:00:00.00Z",
"left": "2020-01-01T14:00:00.00Z"
},
"initiator": {
"joined": {
"isSystem": true,
"user_id": "USR-82e028d9-5201-4f1e-8188-604b2d3471ec",
"member_id": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391"
}
},
"channel": {
"type": "phone",
"leg_id": "a595959595959595995",
"from": {
"type": "app",
"user": "jamie"
},
"to": {
"type": "app",
"user": "jamie"
},
"leg_ids": [
{
"leg_id": "a595959595959595995"
}
]
},
"media": {
"audio_settings": {
"enabled": false,
"earmuffed": false,
"muted": false
}
},
"_links": {
"href": "https://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/members/MEM-63f61863-4a51-4f6b-86e1-46edebio0391"
}
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
joinedjoinedleftA user who joins a conversation as a member can have one channel per membership type. Channels can be app, phone, sip, websocket, or vbc
phoneChannel type
appphonesipwebsocketvbca595959595959595995The id of the leg. rtc_id and call_id are leg id
appThe type of connection. Must be app
jamieThe username to connect to
appThe type of connection. Must be app
jamieThe username to connect to
Leg ids associated with this Channel. The first item in the array represents the main active Leg. The second item, if exists, represents a screen-share Leg.
a595959595959595995The id of the leg. rtc_id and call_id are leg id
Example Request
{
"state": "joined",
"channel": {
"type": "phone",
"leg_id": "a595959595959595995",
"from": {
"type": "app",
"user": "jamie"
},
"to": {
"type": "app",
"user": "jamie"
},
"leg_ids": [
{
"leg_id": "a595959595959595995"
}
]
}
}{
"state": "joined",
"channel": {
"type": "phone",
"leg_id": "a595959595959595995",
"from": {
"type": "app",
"user": "jamie"
},
"to": {
"type": "app",
"user": "jamie"
},
"leg_ids": [
{
"leg_id": "a595959595959595995"
}
]
}
}MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID
CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9aThe unique identifier for this conversation
USR-82e028d9-5201-4f1e-8188-604b2d3471ecUser ID
my_user_nameUnique name for a user
My User NameA string to be displayed as user name. It does not need to be unique
https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec[
"LEFT",
"JOINED"
]The state that the member is in. Possible values are INVITED, JOINED, LEFT, or UNKNOWN
INVITEDJOINEDLEFTUNKNOWN2020-01-01T14:00:00.00ZTimestamp
2020-01-01T14:00:00.00ZTimestamp
2020-01-01T14:00:00.00ZTimestamp
true if the user was invited by an admin JWT. user_id and member_id will not exist if true
USR-82e028d9-5201-4f1e-8188-604b2d3471ecUser ID
MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID
A user who joins a conversation as a member can have one channel per membership type. Channels can be app, phone, sip, websocket, or vbc
phoneChannel type
appphonesipwebsocketvbca595959595959595995The id of the leg. rtc_id and call_id are leg id
appThe type of connection. Must be app
jamieThe username to connect to
appThe type of connection. Must be app
jamieThe username to connect to
Leg ids associated with this Channel. The first item in the array represents the main active Leg. The second item, if exists, represents a screen-share Leg.
a595959595959595995The id of the leg. rtc_id and call_id are leg id
{
"audio_settings": {
"enabled": false,
"earmuffed": false,
"muted": false
}
}Media Object
https://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/members/MEM-63f61863-4a51-4f6b-86e1-46edebio0391A link towards a member included in Conversation API
Example Response
{
"id": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391",
"conversation_id": "CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a",
"_embedded": {
"user": {
"id": "USR-82e028d9-5201-4f1e-8188-604b2d3471ec",
"name": "my_user_name",
"display_name": "My User Name",
"_links": {
"self": {
"href": "https://api.nexmo.com/v0.3/users/USR-82e028d9-5201-4f1e-8188-604b2d3471ec"
}
}
}
},
"state": "JOINED",
"timestamp": {
"invited": "2020-01-01T14:00:00.00Z",
"joined": "2020-01-01T14:00:00.00Z",
"left": "2020-01-01T14:00:00.00Z"
},
"initiator": {
"joined": {
"isSystem": true,
"user_id": "USR-82e028d9-5201-4f1e-8188-604b2d3471ec",
"member_id": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391"
}
},
"channel": {
"type": "phone",
"leg_id": "a595959595959595995",
"from": {
"type": "app",
"user": "jamie"
},
"to": {
"type": "app",
"user": "jamie"
},
"leg_ids": [
{
"leg_id": "a595959595959595995"
}
]
},
"media": {
"audio_settings": {
"enabled": false,
"earmuffed": false,
"muted": false
}
},
"_links": {
"href": "https://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/members/MEM-63f61863-4a51-4f6b-86e1-46edebio0391"
}
}Available Operations
Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
Query Parameters
11001010Return this amount of records in the response
ascReturn the records in ascending or descending order.
ascdescASCDESCThe cursor to start returning results from.
You are not expected to provide this manually, but to follow the url provided in _links.next.href or _links.prev.href in the response which contains a cursor value.
The ID to start returning events at
The ID to end returning events at
The type of event to search for. Does not currently support custom events
10The number of results returned on this page.
List of events matching the provided filter
5Event id. This is a progressive integer
textEvent type
MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID
MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID
{
"text": "My Text"
}Event Body
LEFTThe state that the member is in. Possible values are INVITED, JOINED, LEFT, or UNKNOWN
INVITEDJOINEDLEFTUNKNOWN2020-01-01T14:00:00.00ZTime of creation
https://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/events/1A link towards a conversation event included in Conversation API
https://api.nexmo.com/v0.2/conversations/CON-92a44c64-7e4e-485f-a0c4-1f2adfc44625/events?page_size=10https://api.nexmo.com/v0.2/conversations/CON-92a44c64-7e4e-485f-a0c4-1f2adfc44625/events?page_size=10&cursor=a30e3b7a3dcda1434f64bbb1a5fa489bhttps://api.nexmo.com/v0.2/conversations/CON-92a44c64-7e4e-485f-a0c4-1f2adfc44625/events?page_size=10&cursor=4db03d9254d1cdaecc7b1fc15b6bf1a81f3d3151191d784f1327893f8dc96416https://api.nexmo.com/v0.2/conversations/CON-92a44c64-7e4e-485f-a0c4-1f2adfc44625/events?page_size=10&cursor=84963f79fd25785be9706bd38bfd30c264f71964fa4edc8d8b4dd5f30bbd9f7cExample Response
{
"page_size": 10,
"_embedded": {
"events": [
{
"id": "5",
"type": "text",
"from": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391",
"to": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391",
"body": {
"text": "My Text"
},
"state": "LEFT",
"timestamp": "2020-01-01T14:00:00.00Z",
"href": "https://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/events/1"
}
]
},
"_links": {
"first": {
"href": "https://api.nexmo.com/v0.2/conversations/CON-92a44c64-7e4e-485f-a0c4-1f2adfc44625/events?page_size=10"
},
"self": {
"href": "https://api.nexmo.com/v0.2/conversations/CON-92a44c64-7e4e-485f-a0c4-1f2adfc44625/events?page_size=10&cursor=a30e3b7a3dcda1434f64bbb1a5fa489b"
},
"next": {
"href": "https://api.nexmo.com/v0.2/conversations/CON-92a44c64-7e4e-485f-a0c4-1f2adfc44625/events?page_size=10&cursor=4db03d9254d1cdaecc7b1fc15b6bf1a81f3d3151191d784f1327893f8dc96416"
},
"prev": {
"href": "https://api.nexmo.com/v0.2/conversations/CON-92a44c64-7e4e-485f-a0c4-1f2adfc44625/events?page_size=10&cursor=84963f79fd25785be9706bd38bfd30c264f71964fa4edc8d8b4dd5f30bbd9f7c"
}
}
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
textEvent type
MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID
MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID
{
"text": "My Text"
}Event Body
Example Request
{
"type": "text",
"to": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391",
"from": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391",
"body": {
"text": "My Text"
}
}{
"type": "text",
"to": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391",
"from": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391",
"body": {
"text": "My Text"
}
}5Event id. This is a progressive integer
2020-01-01T14:00:00.00ZTime of event creation
https://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/events/1A link towards a conversation event included in Conversation API
Example Response
{
"id": "5",
"timestamp": "2020-01-01T14:00:00.00Z",
"href": "https://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/events/1"
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
5Event id. This is a progressive integer
textEvent type
MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID
MEM-63f61863-4a51-4f6b-86e1-46edebio0391Member ID
{
"text": "My Text"
}Event Body
LEFTThe state that the member is in. Possible values are INVITED, JOINED, LEFT, or UNKNOWN
INVITEDJOINEDLEFTUNKNOWN2020-01-01T14:00:00.00ZTime of creation
https://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/events/1A link towards a conversation event included in Conversation API
Example Response
{
"id": "5",
"type": "text",
"from": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391",
"to": "MEM-63f61863-4a51-4f6b-86e1-46edebio0391",
"body": {
"text": "My Text"
},
"state": "LEFT",
"timestamp": "2020-01-01T14:00:00.00Z",
"href": "https://api.nexmo.com/v0.3/conversations/CON-63f61863-4a51-4f6b-86e1-46edebio0391/events/1"
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
Available Operations
Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
100The total number of records returned by your request.
11001010The amount of records returned in this response
Return page_size amount of conversations from this index in the response. That is, if your request returns 300 conversations, set record_index to 5 in order to return conversations 50 to 59. The default value is 0. That is, the first page_size calls.
A list of conversation objects. See the get details of a specific conversation response fields for a description of the nested objects
a595959595959595995The id of the leg. rtc_id and call_id are leg id
phoneChannel type
appphonesipwebsocketvbcCON-d66d47de-5bcb-4300-94f0-0c9d4b948e9aThe unique identifier for this conversation
terminatedLeg Status
terminated2020-01-01T14:00:00.00ZTime of leg start
2020-01-01T14:00:00.00ZTime of leg end
Example Response
{
"count": "100",
"page_size": 10,
"record_index": 0,
"_links": {
"self": {
"href": "string"
}
},
"_embedded": {
"legs": [
{
"uuid": "a595959595959595995",
"type": "phone",
"conversation_uuid": "CON-d66d47de-5bcb-4300-94f0-0c9d4b948e9a",
"state": "terminated",
"from": {},
"to": {},
"start_time": "2020-01-01T14:00:00.00Z",
"start_end": "2020-01-01T14:00:00.00Z",
"_links": {},
"_embedded": {}
}
]
}
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |