Obtain Access Token with Username and Password
This example request illustrates how to obtain an access token using a user's username and password. Note that this mechanism is available only to approved developer keys.
Request
POST /cis-web/oauth2/v3/token
Accept: application/json
Content-Type: application/x-www-form-urlencoded
password=WhereIsPapa%3F&grant_type=password&client_id=PHNQ-DY47-PDAG-8NB9-XJD7-JE4J-R0W5-NK3P&username=kbear23
Response
HTTP/1.1 200 OK
Content-type: application/json
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-cache, no-store, no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked
{
"access_token" : "2YoTnFdFEjr1zCsicMWpAA",
"token_type" : "family_search"
}
Updated 5 days ago