Grant App Authorization
grant_app_authorizationGenerate a temporary OAuth 2.0 authorization code to grant an application access to Procore.
Instructions
Creates and returns a temporary authorization code with 10 minute expiration. Note that all parameters listed below are required. This endpoint corresponds to the OAuth 2.0 authorization endpoint described in section 3.1 of the OAuth 2.0 RFC. See the Authentication Guide for additional information and authentication examples. Use this to read information about Authentication records from Procore. Returns a paginated JSON array of Authentication records. Use page and per_page to control pagination; the response includes pagination metadata. Required parameters: response_type, client_id, redirect_uri. Procore API: Platform - Developer Tools > Authentication. Endpoint: GET /oauth/authorize
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_type | Yes | Query string parameter — response type. Value should be `code` for server apps, `token` for client apps. | |
| client_id | Yes | Query string parameter — client ID you were assigned when you registered your application. | |
| redirect_uri | Yes | Query string parameter — the URI that the user will be redirected to after they grant authorization to your application. For browser-based web applications, use a `https://` web address. For "headless" applications use `ur... | |
| page | No | Page number for paginated results (default: 1) | |
| per_page | No | Number of items per page (default: 100, max: 100) |