# Query Regarding Parameter of Mender API

**URL:** <https://hub.mender.io/t/query-regarding-parameter-of-mender-api/6435>\
**Category:** General Discussions\
**Tags:** api, ota\
**Created:** [January 3, 2024, 9:11am UTC](https://hub.mender.io/t/query-regarding-parameter-of-mender-api/6435 "2024-01-03T09:11:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AkshatVyas](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@AkshatVyas](https://hub.mender.io/u/AkshatVyas)\
**Post date:** [January 3, 2024, 9:11am UTC](https://hub.mender.io/t/query-regarding-parameter-of-mender-api/6435/1 "2024-01-03T09:11:41Z")

</div>

Hi Team,

I thought of using self-hosted mender APIs. I am clear with some of the APIs. I have some blockers with some of the parameters in the Mender API.

Below are the APIs:

1. Device Reject Authentication:

```auto
https://hosted.mender.io/api/management/v2/devauth/devices/{id}/auth/{aid}

```

**In this API how find the {aid} parameter.**  
2. Device Playback Connect:

```auto
https://hosted.mender.io/api/management/v1/deviceconnect/sessions/{session_id}/playback

```

In this API, I manually found the session ID but is there any predefined API from which we can directly find the session ID?

It will be helpful in my implementation.

Thanks  
Akshat
