Hey team,
We are building a messaging system and we use thread.useThreadCounts API to get unread count both by providing groupID to get count for a given channel and without specifying it to get it for all the channels.
The problem is that daily we are removing all the channels in our database but users stay. So we end up with some "ghost" unreads that we cannot see anymore in the app.
To resolve this issue we would like to provide to filters an array of group IDs to show it only for channels that we currently have in the database.
Do you think it would be possible to support it?
Hey 👋
I am seeking clarification on the optimal setup for users & threads as we are implementing a Proof of Concept (PoC) on our platform.
Should users be created concurrently with the initiation of a group thread, involving only those directly participating? Or would it be more efficient to create users in advance importing our user base in Cord?
Concerning moderation within these threads, I would like to understand whether your platform supports built-in moderation features or rights management. Have you addressed similar requirements with other clients, and could you share any insights or best practices?
You are building an amazing product, thanks 👍️
Hey, there! We have a use case where we'd like to filter comments by the lack of a field in the location object.
How to retrieve an auth-token with Python?
https://docs.cord.com/get-started/integration-guide/generate-an-auth-token
The rest tab says TBD.
We spotted that sometimes the Composer component disappears and new messages are not delivered. We cannot find exact time when it's happening as it happened only a few times. It looks like some connection issue but I don't know how to confirm it. Initially I thought it's connected with hot module reloading but it also happened on the staging environment as well.
Currently we have <CordProvider> component mounted pretty high in components tree that is fetching the clientAuthToken from backend when app is bootstrapped. Should we somehow take care of refreshing this token periodically?
From what I saw the token generated on the backend is valid only for one minute so I guess you must be doing some refreshes in the background.
How long will messages stay in your DB? Can they be deleted automatically after a period of time?
Is there a way to get the message and other data?
Hey folks,
As mentioned in the docs, a Group can only have two status:
status optional "active" | "deleted"Whether this group is active or deleted. Attempting to log into a deleted group will fail.
Is there a way to mark a Group as "inactive / deactivated / archived"?
The use case is to set a Group as "inactive" to stop email notifications. It can be made "active" again to resume notifications.
Will appreciate any help on this.
Using the REST API to fetch all the messages in a thread. I call:
const messageData = await fetch("https://api.cord.com/v1/threads/<my thread id>/messages?sortDirection=ascending");
That works fine. But I also want to specify a limit. Some of the threads I need to fetch have hundreds or thousands of messages. I would use the /messages API, but I don't see a way to specify the thread ID?
Hey community :)
Is there an expiration period for client auth token?
If so - what is the best practice to renew the token in a React application?
In the example here: https://docs.cord.com/get-started/integration-guide/generate-an-auth-token
The token is only generated once when the app renders.
In other libraries that require auth token, there's an option for token providing function where invalidation can occur.
Might be a silly question, but I am not able to figure out how to generate the JWT token I need to send the auth endpoint (it will be called from Python which is not on your supported library list). Do you have a reference for how to generate the token in Python?
Can you make conversations private in Cord? our customers want to be able to comment but might not want non-employees to view the message.
I see that you can delete threads, which is great. Is there a way to delete threads in bulk based on whether they are associated with a particular group?
Can we take a list of URLs in our product and "unresolve" resolved threads for those? Can we also display resolved cases right in our interface?