Requires sources:write.
Parameters
wait=N (up to 25): wait up to N seconds for the work to finish. 200 if it did, 202 with the object in its current state if not.Any unique string (a UUID works). Retrying with the same key within 24 hours replays the first response instead of running again.
Body
urls
array of string
Required
location
string
A location id. Required for location-bound platforms on accounts billed per location.
dimensions
object
Custom dimension values to set on every new source.
The body you send, as JSON
curl https://api.reviewflowz.com/v3/sources \-H "Authorization: Bearer rfz_live_..." \-H "Content-Type: application/json" \-d '{"urls": ["https://maps.app.goo.gl/Gjo5NDggCfPg8EWL8", "https://www.trustpilot.com/review/www.trustpilot.com"],"location": "loc_1","dimensions": {}}'
const res = await fetch("https://api.reviewflowz.com/v3/sources", {method: "POST",headers: {"Authorization": "Bearer rfz_live_...","Content-Type": "application/json",},body: JSON.stringify({"urls": ["https://maps.app.goo.gl/Gjo5NDggCfPg8EWL8", "https://www.trustpilot.com/review/www.trustpilot.com"], "location": "loc_1", "dimensions": {}}),});console.log(await res.json());
import requestsres = requests.post("https://api.reviewflowz.com/v3/sources",headers={"Authorization": "Bearer rfz_live_...","Content-Type": "application/json",},json={"urls": ["https://maps.app.goo.gl/Gjo5NDggCfPg8EWL8", "https://www.trustpilot.com/review/www.trustpilot.com"], "location": "loc_1", "dimensions": {}},)print(res.json())