Create Referral

Create a new referral object. If form_status is 'submitted', triggers automatic synchronization to AWS Partner Central. Returns 201 on success or 207 if created but sync trigger failed.

Path Params
uuid
required

UUID of the partner account

Body Params
string
enum
Defaults to opportunity

Type of referral object

Allowed:
string
enum
Defaults to draft

Status of the referral form

Allowed:
string
enum
required

Who is referring

Allowed:
labra_referral
object
required

Comprehensive referral data with validation

string | null

ID generated and owned by the CRM system.

  • Salesforce: ID of the Labra__Labra_Referral__c custom object (e.g., "a0C5e000000XyZ1EAK")
  • HubSpot: ID of the Deal object (e.g., "12345678")
string | null

ID of the opportunity in the cloud partner portal (AWS Partner Central, Azure, etc.). Also known as ACE ID for AWS partners (e.g., "OP-AWS-123456").

string | null

ID of the parent CRM object that contains this referral.

  • Salesforce: Opportunity ID (e.g., "0065e000001AbCdEFG")
  • HubSpot: Deal ID (e.g., "11225599")
string
enum
Defaults to AWS

Cloud provider type

Allowed:
Responses

401

Unauthorized

500

Internal server error

Language
Credentials
Bearer
JWT
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json