We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently The code i have fetches everything then filters on all results, the payload can be heavy in the future for this.
[HttpGet("{contactId}")] public List GetConversations(string contactId, [FromHeader(Name = "keys")] string headerKeys) { JavaScriptSerializer serializer = new JavaScriptSerializer(); MessageBirdKeys mbKeys = serializer.Deserialize(headerKeys);
var restClient = new RestClient(CONVERSATIONS_ENDPOINT, mbKeys.AccessKey, null); var client = Client.Create(restClient); ConversationList conversations = client.ListConversations(); return conversations.Items.Where(i => i.ContactId == contactId).ToList(); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently The code i have fetches everything then filters on all results, the payload can be heavy in the future for this.
[HttpGet("{contactId}")]
public List GetConversations(string contactId, [FromHeader(Name = "keys")] string headerKeys)
{
JavaScriptSerializer serializer = new JavaScriptSerializer();
MessageBirdKeys mbKeys = serializer.Deserialize(headerKeys);
The text was updated successfully, but these errors were encountered: