Not sure if you meant Attachment ID or something else.
Below code will help you get the attachments in the SharePoint list items.
If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.