Create a new data transfer from a source to a destination.
Returns: The created transfer object with its ID and display name.
Important Notes:
- Requires scope
dwh_transfers_write - Your account must have
dwh.transfer.editpermission. See roles and permissions. - Validate configuration using
/v1/teams/{team_id}/transfers/validationsbefore creation - Transfer begins processing according to configured schedule
- Connection to data source must be established first
Bearer token authentication. Include the token in the Authorization header:
Authorization: Bearer <your-token>
Unique identifier of the team
Transfer configuration
Data source identifier
Schema identifier for the transfer
Destination identifier
Human-readable name for the transfer
Transfer execution schedule configuration
Frequency of transfer execution
Hour of day to run (UTC)
Number of days to refresh
Day of week to run (1=Monday, 7=Sunday). Required for weekly interval.
Day of month to run. Required for monthly interval.
Data source accounts to include in transfer
Username for data source authentication
Login identifier
Account identifier in the data source
Data segments to include in transfer
Username for data source authentication
Login identifier
Segment identifier
Human-readable segment name
Source-specific configuration settings
Setting field identifier
Setting value (type varies by field)
Setting group identifier
Email addresses to notify on transfer events
Transfer type identifier
Transfer created successfully
{
"meta": {
"request_id": "019461A0-0000-7000-8000-000000000000"
},
"data": {
"transfer_id": 36091,
"transfer_name": "AW enhanced 2022-11-17"
}
}API request ID
Response from creating a transfer
The ID of the created transfer
The display name of the created transfer
Bad Request - The request was invalid or cannot be served.
{
"meta": {
"request_id": "01892A4D-7586-7000-8000-000000000000"
},
"error": {
"code": "INVALID_PARAMETER",
"message": "Invalid Parameter",
"description": "The request contains invalid or malformed parameters."
}
}API request ID
Error code
Error message
Error description
Unauthorized - Authentication is required and has failed or has not been provided.
{
"meta": {
"request_id": "019461A0-0000-7000-8000-000000000000"
},
"error": {
"code": "API_KEY_INVALID",
"message": "Invalid API key",
"description": "Provided API key was invalid."
}
}API request ID
Error code
Error message
Error description
Forbidden - The request is understood, but access is not allowed
{
"meta": {
"request_id": "01892A4D-7586-7000-8000-000000000000"
},
"error": {
"code": "ACCESS_DENIED",
"message": "Access Denied",
"description": "You do not have permission to perform this operation."
}
}API request ID
Error code
Error message
Error description
Transfer with same name already exists
API request ID
Error code
Error message
Error description
Unprocessable Entity - The request was well-formed but contains semantic errors.
{
"meta": {
"request_id": "01892A4D-7586-7000-8000-000000000000"
},
"error": {
"code": "VALIDATION_FAILED",
"message": "Validation Failed",
"description": "The transfer configuration contains invalid settings."
}
}API request ID
Error code
Error message
Error description
Too Many Requests - Rate limit exceeded.
{
"meta": {
"request_id": "019461A0-0000-7000-8000-000000000000"
},
"error": {
"code": "API_ROW_QUOTA_EXCEEDED",
"message": "Row quota exceeded",
"description": "You have exceeded your row-quota limit of rows for this month. Please log into Supermetrics Hub at https://hub.supermetrics.com/ and upgrade your plan, or contact our Supermetrics support team."
}
}API request ID
Error code
Error message
Error description
Internal Server Error - An error occurred on the server.
{
"meta": {
"request_id": "01892A4D-7586-7000-8000-000000000000"
},
"error": {
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal Server Error",
"description": "An unexpected error occurred. Please try again later or contact support."
}
}API request ID
Error code
Error message
Error description