Subscriptions

Get a Member

Retrieve a single member by ID.

GET https://api.dyntube.com/v1/members/{id}

Headers

Name / Type / Description
NameTypeDescription
AuthorizationStringBearer YOUR_API_KEY

Path Parameters

Name / Type / Description
NameTypeDescription
idStringMember ID

Query Parameters

None.

200: OK

json
{
  "id": "Dq77UeAJEDQFSkYJMkcg",
  "key": "ZzIWC9dCoki5jUl9ddBUQw",
  "name": "Max Man",
  "username": "[email protected]",
  "status": 1,
  "storePlanType": 1,
  "created": "2025-12-05T12:57:07.067Z",
  "updated": "2025-12-05T13:07:10.307Z"
}

404: Not Found

json
{
  "message": "Member not found"
}

Error Responses

Status Code / Description
Status CodeDescription
400Bad Request
401Unauthorized
404Member not found

Notes

  • Use the member ID with the member-plans list to retrieve the viewer's assigned access.
  • The authenticated account scope keeps member records separated between DynTube accounts.

Code Samples

C#

csharp
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;

var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "YOUR_API_KEY");
var response = await client.GetAsync("https://api.dyntube.com/v1/members/{id}");
var body = await response.Content.ReadAsStringAsync();

Node.js

javascript
const axios = require('axios');

axios.get('https://api.dyntube.com/v1/members/{id}', {
  headers: { Authorization: 'Bearer YOUR_API_KEY' }
}).then(res => console.log(res.data));

Python

python
import requests

resp = requests.get(
    'https://api.dyntube.com/v1/members/{id}',
    headers={'Authorization': 'Bearer YOUR_API_KEY'}
)
print(resp.json())

PHP

php
<?php
$ch = curl_init("https://api.dyntube.com/v1/members/{id}");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_HTTPHEADER => ["Authorization: Bearer YOUR_API_KEY"]
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
  • Get members to search or list members.
  • Get member's plans to review the member's access.
  • Get member activity to review playback activity.

Something missing or wrong here? Tell us and we will correct it. New to DynTube? Start with uploading and embedding.