POST /authorizations
host: api.github.com
authorization: Basic bGFwYW5vaWQ6QGxmZXJkMGc=
accept: application/json
content-type: application/json
body: {\"scopes\":[\"repo\",\"read:org\",\"user:email\",\"repo_deployment\",\"repo:status\",\"write:repo_hook\"],\"note\":\"catl-52avqc8\"}

HTTP/1.1 201 Created
server: GitHub.com
date: Sat, 18 Mar 2017 18:46:42 GMT
content-type: application/json; charset=utf-8
content-length: 581
connection: close
status: 201 Created
x-ratelimit-limit: 5000
x-ratelimit-remaining: 4999
x-ratelimit-reset: 1489866402
cache-control: private, max-age=60, s-maxage=60
vary: Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding
etag: "598e27b371d36c52cc5b35f4ae4532d5"
location: https://api.github.com/authorizations/90002862
x-github-media-type: github.v3
access-control-expose-headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
access-control-allow-origin: *
content-security-policy: default-src 'none'
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-content-type-options: nosniff
x-frame-options: deny
x-xss-protection: 1; mode=block
x-served-by: 065b43cd9674091fec48a221b420fbb3
x-github-request-id: 222D:3240:C1D5A7:F5DD33:58CD8092

{"id":90002862,"url":"https://api.github.com/authorizations/90002862","app":{"name":"catl-52avqc8","url":"https://developer.github.com/v3/oauth_authorizations/","client_id":"00000000000000000000"},"token":"419c9b900d6682889d37d837d1ce48ee35ceab9b","hashed_token":"fe237de6f14b31925686ad13368b8a59e9a3d2de05308e5243ae809aa1577769","token_last_eight":"35ceab9b","note":"catl-52avqc8","note_url":null,"created_at":"2017-03-18T18:46:42Z","updated_at":"2017-03-18T18:46:42Z","scopes":["repo","read:org","user:email","repo_deployment","repo:status","write:repo_hook"],"fingerprint":null}