NameCoach Integration API v1
This API is used to integrate name pronunciation recordings with displayed names and profiles of members of your organization (employees, faculty, staff, students, etc.)
Typical online systems in which name pronunciation recordings are embedded include:
- Private or Public Directory
- SIS (Student Information System)
- LMS (Learning Management System)
- HCM (Human Capital Management) System
- CRM (Customer Relationship Management) System
Endpoint:
https://www.name-coach.com/api/private/v1/students
Parameters Description
Note
The event_code
is the code that 1-to-1 maps to a Name Page (see demo Name Page). After subscribed to our Integration Service, you will get a code that retrieves name recordings for all members of your institution (not just those on a given Name Page.)
Parameters
-
event_code: the code for a Name Page - (required parameter)
-
email: email of a particular individual whose name recording you want to retrieve (optional parameter)
Presetting
Note
Add the following playbutton.js script to your HEAD section. Also ensure that you have jQuery installed. (only for embedcodes
).
Script
<script src="https://www.name-coach.com/vendor/playbutton.js"></script>
Embed Codes
To retrieve all name recordings from a Name Page:
Try it now
GET/embedcodes/{event_code}.json
The response contains a list of students and their embed codes (including play button images)
- event_code
string
(required) - code for a Name PageExample: example-237eyc55
200
Headers
Content-Type: application/json
Body
{
"result": "success",
"data": [
{
"first_name": "Oluwarotimi",
"last_name": "Adesina",
"email": "oluwarotimi-adesina@example.com",
"embed_html": "<img alt=\"Playbutton\" framesrc=\"https://www.name-coach.com/leanplaybutton/38507\" src=\"http://www.name-coach.com/images/playbutton.png\" style=\"width:15px; height:15px;\" type=\"namecoachplaybutton\" />"
},
{
"first_name": "Karla",
"last_name": "Gleichauf",
"email": "karla-gleichauf@example.com",
"embed_html": "<img alt=\"Playbutton\" framesrc=\"https://www.name-coach.com/leanplaybutton/38508\" src=\"http://www.name-coach.com/images/playbutton.png\" style=\"width:15px; height:15px;\" type=\"namecoachplaybutton\" />"
},
{
"first_name": "Sindura",
"last_name": "Ravichandran",
"email": "sindura-ravichandran@example.com",
"embed_html": "<img alt=\"Playbutton\" framesrc=\"https://www.name-coach.com/leanplaybutton/38506\" src=\"http://www.name-coach.com/images/playbutton.png\" style=\"width:15px; height:15px;\" type=\"namecoachplaybutton\" />"
}
]
}
To retrieve an individual's name recording by email:
Try it now
GET/embedcodes/{event_code}.json?email={email}
The response contains a single student's information and their embed code (including a play button image)
- event_code
string
(required) - code for a Name PageExample: example-237eyc55
string
(required) - individual's emailExample: oluwarotimi-adesina@example.com
200
Headers
Content-Type: application/json
Body
{
"result": "success",
"data": [
{
"first_name": "Oluwarotimi",
"last_name": "Adesina",
"email": "oluwarotimi-adesina@example.com",
"embed_html": "<img alt=\"Playbutton\" framesrc=\"https://www.name-coach.com/leanplaybutton/38507\" src=\"http://www.name-coach.com/images/playbutton.png\" style=\"width:15px; height:15px;\" type=\"namecoachplaybutton\" />"
}
]
}
Recording Links
To retrieve all name recordings from a Name Page:
Try it now
GET/links/{event_code}.json
The response contains a list of students and links to their recordings.
- event_code
string
(required) - code for a Name PageExample: example-237eyc55
200
Headers
Content-Type: application/json
Body
{
"result": "success",
"data": [
{
"first_name": "Oluwarotimi",
"last_name": "Adesina",
"email": "oluwarotimi-adesina@example.com",
"recording_link": "https://namewaves.s3.amazonaws.com/1980_2124_6C854.mp3"
},
{
"first_name": "Karla",
"last_name": "Gleichauf",
"email": "karla-gleichauf@example.com",
"recording_link": "https://namewaves.s3.amazonaws.com/19.mp3"
},
{
"first_name": "Sindura",
"last_name": "Ravichandran",
"email": "sindura-ravichandran@example.com",
"recording_link": "https://namewaves.s3.amazonaws.com/502.mp3"
}
]
}
To retrieve an individual's name recording by email:
Try it now
GET/links/{event_code}.json?email={email}
The response contains a single student's information and a link to their recording.
- event_code
string
(required) - code for a Name PageExample: example-237eyc55
string
(required) - individual's emailExample: oluwarotimi-adesina@example.com
200
Headers
Content-Type: application/json
Body
{
"result": "success",
"data": [
{
"first_name": "Oluwarotimi",
"last_name": "Adesina",
"email": "oluwarotimi-adesina@example.com",
"recording_link": "https://namewaves.s3.amazonaws.com/1980_2124_6C854.mp3"
}
]
}
Namebadge Links
To retrieve all name recordings from a Name Page:
Try it now
GET/badges/{event_code}.json
The response contains a list of students and links to their Namebadges on NameCoach.
- event_code
string
(required) - code for a Name PageExample: example-237eyc55
200
Headers
Content-Type: application/json
Body
{
"result": "success",
"data": [
{
"first_name": "Oluwarotimi",
"last_name": "Adesina",
"email": "oluwarotimi-adesina@example.com",
"recording_link": "http://www.name-coach.com/oluwarotimiadesina"
},
{
"first_name": "Karla",
"last_name": "Gleichauf",
"email": "karla-gleichauf@example.com",
"recording_link": "http://www.name-coach.com/karlagleichauf"
},
{
"first_name": "Sindura",
"last_name": "Ravichandran",
"email": "sindura-ravichandran@example.com",
"recording_link": "http://www.name-coach.com/sinduraravichandran"
}
]
}
To retrieve an individual's name recording by email:
Try it now
GET/badges/{event_code}.json?email={email}
The response contains a student’s information and a link to their Namebadge on NameCoach.
- event_code
string
(required) - code for a Name PageExample: example-237eyc55
string
(required) - individual's emailExample: oluwarotimi-adesina@example.com
200
Headers
Content-Type: application/json
Body
{
"result": "success",
"data": [
{
"first_name": "Oluwarotimi",
"last_name": "Adesina",
"email": "oluwarotimi-adesina@example.com",
"recording_link": "http://www.name-coach.com/oluwarotimiadesina"
}
]
}