Endpoints by slug?

default discord avatar
2 weeks ago

Is it not possible to call endpoints by slug instead of id via rest api? I've been looking around the docs but could not find any information regarding that. I'm working on consuming payload api in a sveltekit application and looking for best pracises too, if anyone wants to chime in.

Of course, soon after posting the question i found the answer.

    Open the post
    Continue the discussion in Discord
    Like what we're doing?
    Star us on GitHub!


    Connect with the Payload Community on Discord



    Can't find what you're looking for?

    Get help straight from the Payload team with an Enterprise License.