Title: Read post via Permalink
Last modified: May 21, 2024

---

# Read post via Permalink

 *  Resolved [ventio](https://wordpress.org/support/users/ventio/)
 * (@ventio)
 * [2 years ago](https://wordpress.org/support/topic/read-post-via-permalink/)
 * Thank you for a great plugin. Is it possible to read posts in the “get_post” 
   action by providing a post link (Post Permalink)?
 * I tried using **value_type: attachment_url** but it doesn’t work (I get the error“
   We did not find any post for your given post_value.”)
 * Is there any way?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [omarfpg a11n](https://wordpress.org/support/users/omarfpg/)
 * (@omarfpg)
 * [2 years ago](https://wordpress.org/support/topic/read-post-via-permalink/#post-17780064)
 * Hi [@ventio](https://wordpress.org/support/users/ventio/),
 * Thank you so much for your kind words of feedback!
 * > I tried using **value_type: attachment_url** but it doesn’t work (I get the
   > error “We did not find any post for your given post_value.”)
 * Please note that this option is meant to search for attachments (media files)
   rather to search for posts. As mentioned in the action options, the post value
   accepts either an ID or a media attachment URL and it works in conjunction with
   the value_type field:
 * > This argument accepts various values, depending on what you set up within the
   > return_only argument. By default, you can enter the post ID. In case you want
   > to search an attachment, you can also set the attachment URL as a value – please
   > note that in this case you have to adjust the **value_type** argument to **
   > attachment_url**.
 * Getting posts via URL is a nice feature request, though. I’m passing it along
   to our developers! In the meantime, keep in mind that you can get any post (or
   page, or any custom post type in WordPress) id through various ways, even by 
   inspecting the live page if needed! =)
 * I hope this helps so far!
 * All the best,
   Omar
 *  Thread Starter [ventio](https://wordpress.org/support/users/ventio/)
 * (@ventio)
 * [2 years ago](https://wordpress.org/support/topic/read-post-via-permalink/#post-17780303)
 * I was going to automate it with zapier where the input is the post permalink.
   In such a situation, I have no idea how to get the post id without unnecessary
   steps and burdening the server.
 * I would be very grateful if you could add such an option to your plugin. This
   will make it much easier not only for me 🙂
 *  [omarfpg a11n](https://wordpress.org/support/users/omarfpg/)
 * (@omarfpg)
 * [2 years ago](https://wordpress.org/support/topic/read-post-via-permalink/#post-17784829)
 * Hi [@ventio](https://wordpress.org/support/users/ventio/),
 * Thank you for sharing more details about your workflow. I understand and agree
   that this could be handled more directly! I’ve asked our developers for such 
   an update. However, please keep in mind that we can’t provide an ETA or a guarantee
   that this will be added soon, as new features and improvements are added on a
   wide range of criteria such as priority, number of requests, etc.
 * All the best,
   Omar
 *  Thread Starter [ventio](https://wordpress.org/support/users/ventio/)
 * (@ventio)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/read-post-via-permalink/#post-18067740)
 * Hey, is the feature we talked about already on the list for the next updates?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Read post via Permalink’ is closed to new replies.

 * ![](https://ps.w.org/wp-webhooks/assets/icon-256x256.jpg?rev=2656397)
 * [WP Webhooks - Automate repetitive tasks by creating powerful automation workflows directly within WordPress](https://wordpress.org/plugins/wp-webhooks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-webhooks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-webhooks/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-webhooks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-webhooks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-webhooks/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [ventio](https://wordpress.org/support/users/ventio/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/read-post-via-permalink/#post-18067740)
 * Status: resolved