"Call summary" not being returned as the correct type with timeline query?

I have the following query

 let query = `query {
      timeline(id: ${itemId}) {
        timeline_items_page {
          cursor
          timeline_items {                
            created_at
            type 
            title
            content
            custom_activity_id
            user {
              id
              name
            }
            id
            item {
              name
            }
          }
        }
      }
    }`;

Seems like for essential activities like Email and Note, they are being returned as the correct type. However, seems like call summary is simply marked as activity. Is this intended or is it a known bug? Thanks in advance.

Hello there @douglas,

This is expected behavior.

Call summary and meeting are both of type activities.

Emails and notes are not considered activities.

Cheers,
Matias

1 Like

Thanks @Matias.Monday

Is there a way to extract the activity type from the API? Looking at Timeline item seems like it always just returns “activity” for “type”

I actually do get the “call” type if I call the API in the original post. Now I’m trying to extract the “meeting” type from timeline if possible.

Hello again @douglas,

I heard back from the team in charge of this.

Notes and emails are not considered activities and should return with the types “email” and “note”, while “Meeting”, “Call Summary” and all custom activities should return the type “activity”. However, they also have sub type of “Meeting”, “Call Summary” and “Custom”.

Would you be able to please share with us the exact query he’s using and a screenshot of the response?

Looking forward to hearing from you!

Cheers,
Matias

Hi @Matias.Monday,

Thanks for the info! Sorry scratch that, I’m not getting the “call” type anymore.

However, they also have sub type of “Meeting”, “Call Summary” and “Custom”.

Do you have any pointers on how I can obtain the subtype through the API?

Hello again,

Matias here!

As of today, it is not possible to obtain the subtype via the API.

You can create a feature request for it here so that our team is in the loop and other users can vote for it to give it traction :smile:

Cheers,
Matias

Thanks @Matias.Monday , will go ahead to make a feature request

Thank you @douglas !!

1 Like