Query Parameters
You can find your API key in your account overview
You can find your API secret in your account overview
10Set the number of items returned on each call to this endpoint. The default is 10 records.
Set the offset from the first page. The default value is 0.
1The number of items associated with your account.
10The number of items returned on each call to this endpoint. The default is 10 records.
1The offset from the first page.
The collection of your applications. Each object contains information about an an individual application. The public_key is not included in the application information.
aaaaaaaa-bbbb-cccc-dddd-0123456789abThe ID allocated to your application by Nexmo.
My ApplicationThe name of your application
The Nexmo product that you access with this application.
answer_urlanswer_urlevent_urlhttps://example.com/webhooks/answeranswer_url: The URL where your webhook delivers the Nexmo Call Control Object that governs this call. As soon as your user answers a call Nexmo makes a request to answer_url. event_url: Nexmo sends event information asynchronously to this URL when status changes.
GETThe HTTP method used to send event information to the event_url or answer_url.
GETPOSTThe Nexmo product that you access with this application.
status_urlinbound_urlstatus_urlhttps://example.com/webhooks/statusinbound_url: The URL where inbound messages are delivered. status_url: The URL where message status is delivered.
POSTThe HTTP method used to send data to the inbound_url or status_url. Default is POST.
GETPOSTThe Nexmo product that you access with this application.
PUBLIC_KEYThe public key used to validate the JWT.
A series of links between resources in this API in the following HAL specification.
/v1/applications/aaaaaaaa-bbbb-cccc-dddd-0123456789abThe link URL.
A series of links between resources in this API in the following HAL specification.
/v1/applications/aaaaaaaa-bbbb-cccc-dddd-0123456789abThe link URL.
Example Response
{
"count": 1,
"page_size": 10,
"page_index": 1,
"_embedded": {
"applications": [
{
"id": "aaaaaaaa-bbbb-cccc-dddd-0123456789ab",
"name": "My Application",
"voice": {
"webhooks": [
{
"endpoint_type": "answer_url",
"endpoint": "https://example.com/webhooks/answer",
"http_method": "GET"
}
]
},
"messages": {
"webhooks": [
{
"endpoint_type": "status_url",
"endpoint": "https://example.com/webhooks/status",
"http_method": "POST"
}
]
},
"keys": {
"public_key": "PUBLIC_KEY"
},
"_links": {
"href": "/v1/applications/aaaaaaaa-bbbb-cccc-dddd-0123456789ab"
}
}
]
},
"_links": {
"href": "/v1/applications/aaaaaaaa-bbbb-cccc-dddd-0123456789ab"
}
}ap1k3yYou can find your API key in your account overview
230e6cf0709417176df1b4fc1e083adcYou can find your API secret in your account overview
My ApplicationThe name of your application.
voiceThe Nexmo product or products that you access with this application. Currently voice and messages application types are supported.
voicemessageshttps://example.com/webhooks/answerThe URL where your webhook delivers the Nexmo Call Control Object that governs this call. As soon as your user answers a call Nexmo makes a request to answer_url. Required for inbound calls only.
GETThe HTTP method used to make the request to answer_url. The default value is GET.
https://example.com/webhooks/eventNexmo sends event information asynchronously to this URL when status changes for voice applications. Always required for voice applications.
POSTThe HTTP method used to send event information to event_url. The default value is POST. For voice type applications only.
https://example.com/webhooks/statusNexmo sends event information asynchronously to this URL when status changes. Required for messages type applications only.
POSTThe HTTP method used to send event information to status_url. The default value is POST. For messages type applications only.
https://example.com/webhooks/inboundNexmo sends a request to this URL when an inbound message is received. Required for messages type applications only.
POSTThe HTTP method used to send event information to inbound_url. The default value is POST. For messages type applications only.
Example Request
{
"api_key": "ap1k3y",
"api_secret": "230e6cf0709417176df1b4fc1e083adc",
"name": "My Application",
"type": "voice",
"answer_url": "https://example.com/webhooks/answer",
"answer_method": "GET",
"event_url": "https://example.com/webhooks/event",
"event_method": "POST",
"status_url": "https://example.com/webhooks/status",
"status_method": "POST",
"inbound_url": "https://example.com/webhooks/inbound",
"inbound_method": "POST"
}{
"api_key": "ap1k3y",
"api_secret": "230e6cf0709417176df1b4fc1e083adc",
"name": "My Application",
"type": "voice",
"answer_url": "https://example.com/webhooks/answer",
"answer_method": "GET",
"event_url": "https://example.com/webhooks/event",
"event_method": "POST",
"status_url": "https://example.com/webhooks/status",
"status_method": "POST",
"inbound_url": "https://example.com/webhooks/inbound",
"inbound_method": "POST"
}aaaaaaaa-bbbb-cccc-dddd-0123456789abThe ID allocated to your application by Nexmo.
My ApplicationThe name of your application
The Nexmo product that you access with this application.
answer_urlanswer_urlevent_urlhttps://example.com/webhooks/answeranswer_url: The URL where your webhook delivers the Nexmo Call Control Object that governs this call. As soon as your user answers a call Nexmo makes a request to answer_url. event_url: Nexmo sends event information asynchronously to this URL when status changes.
GETThe HTTP method used to send event information to the event_url or answer_url.
GETPOSTThe Nexmo product that you access with this application.
status_urlinbound_urlstatus_urlhttps://example.com/webhooks/statusinbound_url: The URL where inbound messages are delivered. status_url: The URL where message status is delivered.
POSTThe HTTP method used to send data to the inbound_url or status_url. Default is POST.
GETPOSTThe Nexmo product that you access with this application.
PUBLIC_KEYThe public key used to validate the JWT.
PRIVATE_KEYThe private key you use to generate the JSON Web Token (JWT) that authenticates your requests to Messages API.
A series of links between resources in this API in the following HAL specification.
/v1/applications/aaaaaaaa-bbbb-cccc-dddd-0123456789abThe link URL.
Example Response
{
"id": "aaaaaaaa-bbbb-cccc-dddd-0123456789ab",
"name": "My Application",
"voice": {
"webhooks": [
{
"endpoint_type": "answer_url",
"endpoint": "https://example.com/webhooks/answer",
"http_method": "GET"
}
]
},
"messages": {
"webhooks": [
{
"endpoint_type": "status_url",
"endpoint": "https://example.com/webhooks/status",
"http_method": "POST"
}
]
},
"keys": {
"public_key": "PUBLIC_KEY",
"private_key": "PRIVATE_KEY"
},
"_links": {
"href": "/v1/applications/aaaaaaaa-bbbb-cccc-dddd-0123456789ab"
}
}Query Parameters
You can find your API key in your account overview
You can find your API secret in your account overview
aaaaaaaa-bbbb-cccc-dddd-0123456789abThe ID allocated to your application by Nexmo.
My ApplicationThe name of your application
The Nexmo product that you access with this application.
answer_urlanswer_urlevent_urlhttps://example.com/webhooks/answeranswer_url: The URL where your webhook delivers the Nexmo Call Control Object that governs this call. As soon as your user answers a call Nexmo makes a request to answer_url. event_url: Nexmo sends event information asynchronously to this URL when status changes.
GETThe HTTP method used to send event information to the event_url or answer_url.
GETPOSTThe Nexmo product that you access with this application.
status_urlinbound_urlstatus_urlhttps://example.com/webhooks/statusinbound_url: The URL where inbound messages are delivered. status_url: The URL where message status is delivered.
POSTThe HTTP method used to send data to the inbound_url or status_url. Default is POST.
GETPOSTThe Nexmo product that you access with this application.
PUBLIC_KEYThe public key used to validate the JWT.
A series of links between resources in this API in the following HAL specification.
/v1/applications/aaaaaaaa-bbbb-cccc-dddd-0123456789abThe link URL.
Example Response
{
"id": "aaaaaaaa-bbbb-cccc-dddd-0123456789ab",
"name": "My Application",
"voice": {
"webhooks": [
{
"endpoint_type": "answer_url",
"endpoint": "https://example.com/webhooks/answer",
"http_method": "GET"
}
]
},
"messages": {
"webhooks": [
{
"endpoint_type": "status_url",
"endpoint": "https://example.com/webhooks/status",
"http_method": "POST"
}
]
},
"keys": {
"public_key": "PUBLIC_KEY"
},
"_links": {
"href": "/v1/applications/aaaaaaaa-bbbb-cccc-dddd-0123456789ab"
}
}ap1k3yYou can find your API key in your account overview
230e6cf0709417176df1b4fc1e083adcYou can find your API secret in your account overview
UpdatedApplicationThe name of your application.
voiceThe Nexmo product or products that you access with this application. Currently voice and messages application types are supported. You can't change the type of application.
voicemessageshttps://example.com/webhooks/answerThe URL where your webhook delivers the Nexmo Call Control Object that governs this call. As soon as your user answers a call Nexmo makes a request to answer_url.
GETGETThe HTTP method used to make the request to answer_url. The default value is GET.
https://example.com/webhooks/eventNexmo sends event information asynchronously to this URL when status changes.
POSTPOSTThe HTTP method used to send event information to event_url. The default value is POST.
Example Request
{
"api_key": "ap1k3y",
"api_secret": "230e6cf0709417176df1b4fc1e083adc",
"name": "UpdatedApplication",
"type": "voice",
"answer_url": "https://example.com/webhooks/answer",
"answer_method": "GET",
"event_url": "https://example.com/webhooks/event",
"event_method": "POST"
}{
"api_key": "ap1k3y",
"api_secret": "230e6cf0709417176df1b4fc1e083adc",
"name": "UpdatedApplication",
"type": "voice",
"answer_url": "https://example.com/webhooks/answer",
"answer_method": "GET",
"event_url": "https://example.com/webhooks/event",
"event_method": "POST"
}aaaaaaaa-bbbb-cccc-dddd-0123456789abThe ID allocated to your application by Nexmo.
My ApplicationThe name of your application
The Nexmo product that you access with this application.
answer_urlanswer_urlevent_urlhttps://example.com/webhooks/answeranswer_url: The URL where your webhook delivers the Nexmo Call Control Object that governs this call. As soon as your user answers a call Nexmo makes a request to answer_url. event_url: Nexmo sends event information asynchronously to this URL when status changes.
GETThe HTTP method used to send event information to the event_url or answer_url.
GETPOSTThe Nexmo product that you access with this application.
status_urlinbound_urlstatus_urlhttps://example.com/webhooks/statusinbound_url: The URL where inbound messages are delivered. status_url: The URL where message status is delivered.
POSTThe HTTP method used to send data to the inbound_url or status_url. Default is POST.
GETPOSTThe Nexmo product that you access with this application.
PUBLIC_KEYThe public key used to validate the JWT.
A series of links between resources in this API in the following HAL specification.
/v1/applications/aaaaaaaa-bbbb-cccc-dddd-0123456789abThe link URL.
Example Response
{
"id": "aaaaaaaa-bbbb-cccc-dddd-0123456789ab",
"name": "My Application",
"voice": {
"webhooks": [
{
"endpoint_type": "answer_url",
"endpoint": "https://example.com/webhooks/answer",
"http_method": "GET"
}
]
},
"messages": {
"webhooks": [
{
"endpoint_type": "status_url",
"endpoint": "https://example.com/webhooks/status",
"http_method": "POST"
}
]
},
"keys": {
"public_key": "PUBLIC_KEY"
},
"_links": {
"href": "/v1/applications/aaaaaaaa-bbbb-cccc-dddd-0123456789ab"
}
}