slug API Parameter
The slug API parameter provides a way to retrieve an app item based on its URL slug. This is an alternate method of getting the item instead of using its id.
Example:
{% set post = _api.blog.posts.slug('post-slug').first() %}
The URL slug is usually the last portion of the URL after the last /.
For example, for the following URL https://www.branchcms.com/blog/post/integrate-branchcms-with-other-services-using-the-request-object, the slug is:
integrate-branchcms-with-other-services-using-the-request-object