share

Create a report link the person can give their nutritionist or trainer

post/share-links

Request

  • Base URL: https://nutri.coghorizon.com/api/v1
  • URL: https://nutri.coghorizon.com/api/v1/share-links
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://nutri.coghorizon.com/oauth/authorize, token URL https://nutri.coghorizon.com/oauth/token, scopes: share:manage)

Request body

profile_idstring

One profile; every profile of the account when absent

expires_in_daysinteger

Link lifetime; no expiry when absent

Response

Link

object required

Changes

No recorded changes to this operation across all 1 revision of this API.