Members
Retrieve a member
GET/v1/members/{id}
Members are created and managed in Video Intros, where each one sets up their own profile. The API reads them; it does not create them.
Authentication
A bearer API key. Authentication.
Headers
AuthorizationstringrequiredBearer followed by your API key. A test key works in the test environment only.
Path parameters
idstringrequiredThe member's identifier.
Errors
| Status | Code | When |
|---|---|---|
401 | unauthorized | The API key is missing, malformed or revoked. |
404 | not_found | No such object in this organization and environment. |
curl https://api.videointros.com/v1/members/mem_3f9a1c27 \
-H "Authorization: Bearer $VIDEO_INTROS_API_KEY"
const response = await fetch("https://api.videointros.com/v1/members/mem_3f9a1c27", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.VIDEO_INTROS_API_KEY}`,
},
});
const result = await response.json();
import os, requests
response = requests.get(
"https://api.videointros.com/v1/members/mem_3f9a1c27",
headers={
"Authorization": f"Bearer {os.environ['VIDEO_INTROS_API_KEY']}",
},
)
result = response.json()
{
"id": "mem_3f9a1c27",
"object": "member",
"external_id": "rep_456",
"first_name": "Anthony",
"last_name": "Baker",
"email": "[email protected]",
"title": "Project Specialist",
"active": true
}
{
"error": {
"code": "not_found",
"message": "No such object in this organization and environment."
}
}