Capabilities

referrals.get_or_create

Get the authenticated user's referral link and stats, creating their referral profile only when missing.

post/capabilities/referrals.get_or_create

Request

  • Base URL: https://developer.api.receiptor.ai/v1
  • URL: https://developer.api.receiptor.ai/v1/capabilities/referrals.get_or_create
  • Auth: one of:
    • API key in header x-receiptor-api-key
    • HTTP bearer

Request body

object required

Response

Successful response

successboolean
codeinteger

Example response

{
  "success": true,
  "code": 200
}

Changes

No recorded changes to this operation across all 12 revisions of this API.