List Project Country Codes
list_project_country_codesRetrieve a project's distinct country codes to discover available options or find the ID needed by other tools. Returns a paginated JSON array; read-only.
Instructions
Return a distinct list of country codes for a project. Use this to discover project country codes or to look up the id of one before calling a tool that needs it. project_id defaults to the value set by procore_set_config when omitted. Returns a JSON array of project country codes; page and per_page control pagination and the response reports how many pages remain. Read-only — it changes nothing in Procore. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: project_id. Procore API: Core > Directory. Endpoint: GET /rest/v1.0/projects/{project_id}/directory/filter_options/country_codes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for paginated results (default: 1, 1-indexed) | |
| per_page | No | Number of items per page (default: 100, max: 100) | |
| project_id | Yes | URL path parameter — unique identifier for the project. |