POST
https://ushahididocs.api.ushahidi.io/api/v3/messages
parent_id
String
The parent identifier
datetime
String
Date and time
user_id
String
user ID
title
String
Massage title
data_source_message_id
String
Data source message identifier
message
String
The main message you would like to add
contact_id
Integer
The post contact identifier
data_source
String
Data source
post_id
String
post ID
notification_post_id
String
Notification post identifier
additional_data
String
Additional information
direction
String
Message direction e.g. "outgoing"
status
String
Message status
type
String
Message type e.g. "sms"
contact_type
String
Contact type
contact
String
Message contact
PUT
https://ushahididocs.api.ushahidi.io/api/v3/messages/18
parent_id
String
The parent identifier
datetime
String
Date and time
user_id
String
user ID
title
String
Massage title
data_source_message_id
String
Data source message identifier
message
String
The main message you would like to add
contact_id
Integer
The post contact identifier
data_source
String
Data source
post_id
String
post ID
notification_post_id
String
Notification post identifier
additional_data
String
Additional information
direction
String
Message direction e.g. "outgoing"
status
String
Message status
type
String
Message type e.g. "sms"
contact_type
String
Contact type
contact
String
Message contact
/api/v3/messages
Sorting parameter Available values : entity fields Default value : id
id
Sorting parameter Available values : [ASC,DESC] Default value : ASC
asc
Paging parameter Default value : null
2
Paging parameter Default value : 0
3
Filter Parameter Available values : [outbox,inbox,archived]
outbox
Filter Parameter Available values : [all,received,archived,pending,sent]
received
Filter Parameter check the contact id
1
Filter Parameter check the parent id
2
Filter Parameter check the post id
1
Filter Parameter check the type Available values : [sms,twitter,email]
sms
Filter Parameter check the value if it likes contact, title, message
test
Filter Parameter check the data_source Available values : [sms,twitter,email]
smssync