cURL
curl --request POST \ --url https://public.plai.io/auth/create_link \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "userId": "<string>", "platform": "<string>", "redirectUri": "<string>", "state": "<string>" }'
{ "success": true, "results": { "success": true, "link": "<string>", "error": "<string>" } }
This endpoint generates a link that allows users to seamlessly connect their Ad accounts for the purpose of creating advertisements.
platform = FACEBOOK
platform = LINKEDIN
platform = GOOGLE
Show Results