Messages
Sorting parameter Available values : entity fields Default value : id
idSorting parameter Available values : [ASC,DESC] Default value : ASC
ascPaging parameter Default value : null
2Paging parameter Default value : 0
3Filter Parameter Available values : [outbox,inbox,archived]
outboxFilter Parameter Available values : [all,received,archived,pending,sent]
receivedFilter Parameter check the contact id
1Filter Parameter check the parent id
2Filter Parameter check the post id
1Filter Parameter check the type Available values : [sms,twitter,email]
smsFilter Parameter check the value if it likes contact, title, message
testFilter Parameter check the data_source Available values : [sms,twitter,email]
smssyncOK
Unauthorized
add message
POST https://ushahididocs.api.ushahidi.io/api/v3/messages
Request Body
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
edit message
PUT https://ushahididocs.api.ushahidi.io/api/v3/messages/18
Request Body
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