get
https://api-v2.pandavideo.com.br/user/apikey?isSubaccount=&userId=
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
GET /user/apikey
Returns metadata about the API key of a sub-account. Use it to check whether a sub-account currently has a key.
AuthorizationOnly parent accounts can retrieve API key metadata for their sub-accounts. The sub-account must be owned by the authenticated parent.
Metadata onlyThis endpoint does not return the actual
api_keyvalue — onlyid,user_id, andcreated_at. The full key is shown once, at creation time, viaPOST /user/apikey. If the key was lost, generate a new one.
HTTP Method & Path
GET /user/apikey?isSubaccount=true&userId={subaccount_id}
Base URL: https://api-v2.pandavideo.com.br
Authentication Requirements
- Security Scheme:
PandaAuth(apiKey) - Header:
Authorization: <your_api_token>(no Bearer prefix)
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Authorization | header | string | Yes | Your parent account API token |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
isSubaccount | boolean | Yes | Must be true (lowercase) to target a sub-account |
userId | string (uuid) | Yes | Sub-account whose key metadata will be retrieved |
Response
Success Response (200)
{
"apikey": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"user_id": "subaccount_user_id",
"created_at": "2026-01-01T00:00:00.000Z"
}
}| Field | Type | Description |
|---|---|---|
apikey.id | string (uuid) | API key record ID |
apikey.user_id | string (uuid) | Sub-account user the key belongs to |
apikey.created_at | string (ISO 8601) | Creation timestamp |
UnlikePOST /user/apikey, this endpoint never returns theapi_keyvalue.
Error Responses
- 400 Bad Request — missing/invalid query params or ownership failures (
"subaccount does not belong to the user", etc.). - 401 Unauthorized — Invalid or missing API token.
- 404 Not Found —
"apikey not found"(the sub-account has no API key). - 500 Internal Server Error — Server error.
Example Usage
cURL
curl -X GET \
'https://api-v2.pandavideo.com.br/user/apikey?isSubaccount=true&userId=your_subaccount_id_here' \
-H 'Authorization: your_api_token_here' 401Unauthorized
404Not Found
500Internal Server Error
