Skip to main content

I’m trying to use the Add conversation link endpoint but after every attempt with various conversation ids I am getting from the UI, I get a 404 error:

{"_error":{"status":404,"title":"Not found","message":"Invalid id"}}

I’ve confirmed I’m using valid conversation ids because the Get conversation endpoint works fine with the same ids.

Below is an example curl request I’m performing, generated and copied from the docs:

Any ideas what could be going on?

curl --request POST \
--url https://api2.frontapp.com/conversations/cnv_14lrv1os/links \
--header 'authorization: Bearer XXXXXXXXXX' \
--header 'content-type: application/json' \
--data '
{
"link_ids": n
"Example Link"
],
"link_external_urls": l
"https://www.example.com"
]
}

 

After reading over the docs again I now realize this was a misunderstanding on my end. Reading more closely, I’ve figured out you need to use the Create link endpoint first and use the link_id generated for Add conversation link.

Thanks!


Reply