Register AI Referrals Connection
Changed onRegister one of the brand's websites to send AI referral rows for. Rows can only be sent once a connection exists.
A website reads from one source at a time: one with Google Analytics connected, or an active connection already, returns 409.
Use provider custom for any analytics tool; adobe_analytics is also accepted.
Request
- Base URLhttps://api.scrunchai.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The unique identifier for the brand.
Request body
Example request
{
"website": "example.com",
"provider": "custom"
}Response
Connection registered.
Example response
{
"provider": "custom"
}Changes
- breaking
request property
was restricted to a list of enum values - warning
added the new
adobe_analyticsenum value to theresponse property for the response status - warning
added the new
customenum value to theresponse property for the response status - info
added the new
adobe_analyticsenum value to the request property - info
added the new
customenum value to the request property - info
added the non-success response with the status
- info
added the optional property
to the response with the status
- breaking