To setup your integration, you will need your Moneypenny account details (these are the same ones you use for logging into the portal). If you do not have these, please get in touch on 0345 123 3700 or [email protected].
Authentication
Request
curl --location 'https://api.moneypenny.com/auth/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "{YOUR USERNAME}",
"password": "{YOUR PASSWORD}"
}'
Response
{
"access_token": "{A TOKEN}",
"expires_in": 86400,
"token_type": "Bearer"
}
Upon receipt of the token, you’ll need to pass it in as a header in each request. Please note that the token has a 24-hour lifespan, you will need to call the above endpoint to get a new token every 24 hours.
Request
Paramaters | Sample Value (mm/dd/yyyy) |
From | 02/10/2024 |
To | 02/15/2024 |
curl --location 'https://api.moneypenny.com/clienttas/V2/Messages?from=02%2F10%2F2024&to=02%2F15%2F2024' \
--header 'Authorization: Bearer {YOUR TOKEN}' \
Response
Your responses should look like the 2 examples below:
[
{
"date": "2024-02-10T04:12:39.793+00:00",
"caller": "A Person",
"callerCompany": "",
"callerNumber": "0123456789",
"actionTaken": "SMS",
"employee": "Ann Employee",
"message": "This is a very important message",
"callId": "M3VZkR"
},
{
"date": "2024-02-10T09:36:23.85+00:00",
"caller": "A Gentleman",
"callerCompany": "A Company",
"callerNumber": "0987654321",
"actionTaken": "Email",
"employee": "John Doe",
"message": "A Gentleman called.",
"callId": "W39QoX"
}
]
Need a hand? Give our team a call on 0345 123 3700 and we’ll talk you through the process.
Your own Moneypenny PA to answer calls exactly as if based in your office.
Discover >All the functions and support of an office phone system, minus the hardware.
Discover >