PUT Message
Changed on/messages/:id Permission level: 5
put/messages/{id}
Request
- Base URLhttps://www.humanity.com/api/v2
- AuthAPI key in query parameter access_token
Path parameters
idinteger required
Request body application/x-www-form-urlencoded
Response
200
Example response
{
"status": 1,
"data": {
"id": "119302",
"from": {
"id": "18487",
"name": "Jose Ricaurte Jaen C"
},
"to": {
"id": "2",
"name": "Ryan Fyfe"
},
"type": "1",
"replyto": "0",
"date_sent": "1324585559",
"date_read": "1334847756",
"subject": "Test",
"message": "Testing",
"message_formatted": "Testing",
"date_sent_formatted": {
"id": 967,
"timestamp": 1324530000,
"month": 12,
"day": 22,
"year": 2011,
"week": 51,
"dayid": 5,
"weekday": "Thu",
"mname": "Dec",
"formatted": "Dec 22, 2011"
},
"date_read_formatted": {
"id": 1086,
"timestamp": 1334811600,
"month": 4,
"day": 19,
"year": 2012,
"week": 16,
"dayid": 5,
"weekday": "Thu",
"mname": "Apr",
"formatted": "Apr 19, 2012"
}
}
}Changes
- info
endpoint added
- info