Use Drupal variable for API endpoint.