{"_id":"5970d54677464a0039d216b6","project":"55c8cff571d7580d0063a5e5","version":{"_id":"57624356653c2d2200fec79c","__v":21,"project":"55c8cff571d7580d0063a5e5","createdAt":"2016-06-16T06:12:38.244Z","releaseDate":"2016-06-16T06:12:38.244Z","categories":["57624356653c2d2200fec79d","57624356653c2d2200fec79e","57624356653c2d2200fec79f","57624356653c2d2200fec7a0","57624356653c2d2200fec7a1","57624356653c2d2200fec7a2","57624356653c2d2200fec7a3","57624356653c2d2200fec7a4","57624356653c2d2200fec7a5","57624356653c2d2200fec7a6","57624356653c2d2200fec7a7","57624356653c2d2200fec7a8","57624356653c2d2200fec7a9","57624356653c2d2200fec7aa","5779ca1b99b40b0e005abb3a","5779d198aea88b0e00f63277","5797d3ab17ced017003c4be4","57ac170ef1cdae0e0053cdfc","57dbfc723ed3450e00dc9e6d","5804d12d16161c0f0077df9b","5841064b652e5b0f0015a7c8","588b5e5f2966b2230009cbf9","58a68ebf3239fa0f00857619","58c23c8b4922930f0050ac91","58fd1460809fc30f00f2ee07","5934eaf5328680002d77de6a","594bf91601cfe6000f40f4c5","595c4ed696b447001ba0cf6d","596524495cee50001575f5be","5970d4f1313162004dd303b5","59780fac24dbd1001a1fa057","59a8cfd3ead78a002d63cafe","59e0323d93da1f001c9ec170","5b0c16f2be9fcb0003e28222"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"4.0.0","version":"4"},"category":{"_id":"5970d4f1313162004dd303b5","project":"55c8cff571d7580d0063a5e5","version":"57624356653c2d2200fec79c","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-07-20T16:06:09.087Z","from_sync":false,"order":19,"slug":"account-oauth-clients","title":"Account OAuth Clients"},"user":"56f99ab84d2b4f3400edb636","githubsync":"","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-07-20T16:07:34.523Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"## Supported Services\n* [List OAuth Clients](doc:list-account-oauth-clients)\n* [Get OAuth Client](doc:get-account-oauth-client)\n* [Delete OAuth Client](doc:delete-account-oauth-client)\n\n## OAuth Client Summary Object\n[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"`id`\",\n    \"h-0\": \"Property\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Description\",\n    \"0-1\": \"Integer\",\n    \"0-2\": \"Client ID\",\n    \"1-0\": \"`client_name`\",\n    \"1-1\": \"String\",\n    \"1-2\": \"Name of Client\",\n    \"2-0\": \"Expire Time\",\n    \"2-1\": \"Integer\",\n    \"2-2\": \"TTL in seconds, after this length of time, the token expires and becomes invalid\",\n    \"3-0\": \"Access Token\",\n    \"3-1\": \"String\",\n    \"3-2\": \"The newly created Access Token\",\n    \"4-0\": \"State\",\n    \"4-1\": \"String\",\n    \"4-2\": \"An opaque value used by the client to maintain state between the request and callback.  The value of state is provided as input, and is returned in the response.\"\n  },\n  \"cols\": 3,\n  \"rows\": 2\n}\n[/block]\nHere is an example:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n    \\\"id\\\" : 5327452,\\n    \\\"client_name\\\" : \\\"My Client Name\\\"\\n}\",\n      \"language\": \"json\",\n      \"name\": null\n    }\n  ]\n}\n[/block]\n## OAuth Client Full Object\n\nAn OAuth Client Full Object is identical as a Summary Object.","excerpt":"Phone.com API supports [OAuth 2.0 Authorization Framework](https://tools.ietf.org/html/rfc6749), which enables a third-party application (client) to obtain limited access to HTTP API requests.  This page describes how to use the /oauth/clients API to list, get and delete client.","slug":"account-oauth-clients","type":"basic","title":"OAuth Clients"}

OAuth Clients

Phone.com API supports [OAuth 2.0 Authorization Framework](https://tools.ietf.org/html/rfc6749), which enables a third-party application (client) to obtain limited access to HTTP API requests. This page describes how to use the /oauth/clients API to list, get and delete client.

## Supported Services * [List OAuth Clients](doc:list-account-oauth-clients) * [Get OAuth Client](doc:get-account-oauth-client) * [Delete OAuth Client](doc:delete-account-oauth-client) ## OAuth Client Summary Object [block:parameters] { "data": { "0-0": "`id`", "h-0": "Property", "h-1": "Type", "h-2": "Description", "0-1": "Integer", "0-2": "Client ID", "1-0": "`client_name`", "1-1": "String", "1-2": "Name of Client", "2-0": "Expire Time", "2-1": "Integer", "2-2": "TTL in seconds, after this length of time, the token expires and becomes invalid", "3-0": "Access Token", "3-1": "String", "3-2": "The newly created Access Token", "4-0": "State", "4-1": "String", "4-2": "An opaque value used by the client to maintain state between the request and callback. The value of state is provided as input, and is returned in the response." }, "cols": 3, "rows": 2 } [/block] Here is an example: [block:code] { "codes": [ { "code": "{\n \"id\" : 5327452,\n \"client_name\" : \"My Client Name\"\n}", "language": "json", "name": null } ] } [/block] ## OAuth Client Full Object An OAuth Client Full Object is identical as a Summary Object.