Attention: This site does not support the current version of your web browser. To get the best possible experience using our website we recommend that you upgrade to a newer version or install another browser

Skip main navigation

Obtain Access Token with Authorization Code

This example request illustrates how to obtain an access token using an authorization code. The authorization code is obtained from the result of a successful authentication of a user at the OAuth2 authorization page.

Request

POST /cis-web/oauth2/v3/token
Accept: application/json
Content-Type: application/x-www-form-urlencoded

code=tGzv3JOkF0XG5Qx2TlKWIA&grant_type=authorization_code&redirect_uri=http%3A%2F%2Fflowerchildren.org%2Fauthentication%2Fredirect&client_id=PHNQ-DY47-PDAG-8NB9-XJD7-JE4J-R0W5-NK3P

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"
}
Change Language
Feedback

Sending...

Feedback was sent.

Can't send feedback. Retry in 5 seconds.