Skip to content

Start a draft​

POST
/resource-providers/{providerId}/resources

A draft from whatever the editor has (a title at least). A business manager names one or more of their own locations. A person's help (#2436) names no location (422 resource_locations_person, details.field location_ids) and no sensitive topic, or a topic under one (422 resource_topic_links_person_sensitive, details.field topic_ids); the same holds for PATCH /resources/{id}, for a change to live help too. Checks: requireProviderAccess('manage_resources').

Authorizations​

BearerAuth

In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.

Type
HTTP (bearer)

Parameters​

Path Parameters

providerId*

The provider (resource_providers.id).

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
"string"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

Built with VitePress