image from URL through API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kodexof731
    Junior Member
    • Aug 2023
    • 2

    image from URL through API

    Hoping somebody can help me.

    I have connected my external app to ESPO through the API, which is working fine.
    However, I am creating a catalog, and I want to pull the image I have added to my record as a URL to display in my second app.

    In my API Response there are the following two fields:
    - imageID https://tutuappx.com/ Vidmate
    - imageName

    How do I access the image with these fields? For example, I want to be able to access using img src = https://my_espo_domain/path/to/images/[imageId] or [imageName]

    Any ideas?​
    Last edited by kodexof731; 08-12-2023, 12:01 PM.
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Use the endpoint GET Attachment/file/{id} https://docs.espocrm.com/development...t/#downloading
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...