{"_id":"554932ffee219b0d00174355","project":"551375e1d04af219007ddc52","__v":12,"category":{"_id":"5549346a6a82a10d00817a81","version":"551375e2d04af219007ddc55","__v":0,"pages":[],"project":"551375e1d04af219007ddc52","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-05T21:21:46.158Z","from_sync":false,"order":5,"slug":"managing-your-app","title":"Managing Your App"},"version":{"_id":"551375e2d04af219007ddc55","project":"551375e1d04af219007ddc52","__v":9,"createdAt":"2015-03-26T02:58:42.261Z","releaseDate":"2015-03-26T02:58:42.260Z","categories":["551375e2d04af219007ddc56","5514c6e9bc466623002afddb","5514c6f8fa9cbe2300847841","5514c6fd07274c0d00e620f4","553fe5fc23c53c0d00ccceb4","554113ad5cf9682100d61baa","5549346a6a82a10d00817a81","561be536a3df620d007a1851","563aef87ea247f0d0044d4de"],"is_deprecated":true,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"","version_clean":"1.0.0","version":"1.0"},"user":"5539912a0074c80d00621b14","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-05-05T21:15:43.565Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"After you have created an application in the Human API [Developer Portal](doc:developer-portal), you can manage some of the application's data using the Application API endpoints. These endpoints enable you to update and delete users, as well as query the user's data using the [batch query](doc:batch-queries) endpoints.\n\nThe base URL for the Application API is below, where the `clientId` is the application/client id for your application from the Developer Portal.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"https://api.humanapi.co/v1/apps/{clientId}\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Authorization\"\n}\n[/block]\nThe Application API uses a special `App Key` that is generated when you create an application. All the application-level resources are authenticated using Basic Authentication with your `App Key` as username and a blank password. Make sure you include the \":\" after the username to avoid being asked to enter a password.\n\n\n#Curl Example\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -u e7db255f4828e1d482743eba04faacb945ab7ca8: \\\\\\n  https://api.humanapi.co/v1/apps/1d129c20acf6fcef9be0b067cc7859d872ed5ade/users\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]\n\n#Basic Auth Header Example\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -H 'Authorization: Basic ZTdkYjI1NWY0ODI4ZTFkNDgyNzQzZWJhMDRmYWFjYjk0NWFiN2NhODo=' \\\\\\n  https://api.humanapi.co/v1/apps/1d129c20acf6fcef9be0b067cc7859d872ed5ade/users\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]\nFor more information about working with the Application API see:\n- [Managing Users](doc:managing-users) \n- [Batch Queries](doc:batch-queries)","excerpt":"Details API endpoints for managing Developer Portal Apps","slug":"application-api","type":"basic","title":"Application API"}

Application API

Details API endpoints for managing Developer Portal Apps

After you have created an application in the Human API [Developer Portal](doc:developer-portal), you can manage some of the application's data using the Application API endpoints. These endpoints enable you to update and delete users, as well as query the user's data using the [batch query](doc:batch-queries) endpoints. The base URL for the Application API is below, where the `clientId` is the application/client id for your application from the Developer Portal. [block:code] { "codes": [ { "code": "https://api.humanapi.co/v1/apps/{clientId}", "language": "text" } ] } [/block] [block:api-header] { "type": "basic", "title": "Authorization" } [/block] The Application API uses a special `App Key` that is generated when you create an application. All the application-level resources are authenticated using Basic Authentication with your `App Key` as username and a blank password. Make sure you include the ":" after the username to avoid being asked to enter a password. #Curl Example [block:code] { "codes": [ { "code": "curl -u e7db255f4828e1d482743eba04faacb945ab7ca8: \\\n https://api.humanapi.co/v1/apps/1d129c20acf6fcef9be0b067cc7859d872ed5ade/users", "language": "curl" } ] } [/block] #Basic Auth Header Example [block:code] { "codes": [ { "code": "curl -H 'Authorization: Basic ZTdkYjI1NWY0ODI4ZTFkNDgyNzQzZWJhMDRmYWFjYjk0NWFiN2NhODo=' \\\n https://api.humanapi.co/v1/apps/1d129c20acf6fcef9be0b067cc7859d872ed5ade/users", "language": "curl" } ] } [/block] For more information about working with the Application API see: - [Managing Users](doc:managing-users) - [Batch Queries](doc:batch-queries)