AI-generated Key Takeaways
-
This page details how to create a Lead for a Partner using a POST HTTP request.
-
The request requires a
parent
path parameter in the format "partners/{partner_id}". -
The request body should contain an instance of a Lead object.
-
A successful response will contain a newly created Lead object in the response body.
-
Authorization requires the
https://www.googleapis.com/auth/cloudcrmpartners
OAuth scope.
Creates a Lead for a Partner.
HTTP request
POST https://cloudcrmpartners.googleapis.com/v1/{parent=partners/*}/leads
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource name where the Lead is to be created. Format: “partners/{partner_id}". |
Request body
The request body contains an instance of Lead
.
Response body
If successful, the response body contains a newly created instance of Lead
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloudcrmpartners
For more information, see the OAuth 2.0 Overview.