Method
Parameters
Response
Always
"list"Whether there are more results available
Learn more about Mintlify
Enter your email to receive updates about new features and product releases.
Retrieve a paginated list of topics.
func (s *TopicsSvcImpl) List(options *ListOptions) (*ListTopicsResponse, error)
func (s *TopicsSvcImpl) ListWithContext(ctx context.Context, options *ListOptions) (*ListTopicsResponse, error)
"list"client := resend.NewClient("re_123456789")
limit := 10
options := &resend.ListOptions{
Limit: &limit,
}
response, err := client.Topics.List(options)
if err != nil {
panic(err)
}
for _, topic := range response.Data {
fmt.Printf("Topic: %s (%s)\n", topic.Name, topic.Id)
}
fmt.Println("Has More:", response.HasMore)