Get sources (v1)
GET
https://api.casafari.com/api/v1/references/sourcesBearer token1 parameter
Send Authorization: Bearer $CASAFARI_TOKEN; see how to get a token.
Over MCP: no tool does this. MCP and REST compared.
Description
Returns a list of all domains for the requested location.
Query parameters
locationIdintegerrequiredThe location ID to search sources for.
Example request
Placeholders only: replace the token and the values with your own.
curl "https://api.casafari.com/api/v1/references/sources?locationId=1" \
-H "Authorization: Bearer $CASAFARI_TOKEN"Responses
200 OK
Type: object[].
Show the response shape (1 fields)
domainsstring[]requiredThe domain urls.
Example from the API description
{
"domains": [
"barnes-portugal.com"
]
}401 Unauthorized
Type: object.
Show the response shape (1 fields)
detailstringDescription of the error encountered.
403 Forbidden
Type: object.
Show the response shape (1 fields)
detailstringDescription of the error encountered.