Skip to content

Check the source's connectivity (ping to Mailchimp)

POST
/v1/migration-sources/{source}:check
curl --request POST \
--url https://api.replifier.com/v1/migration-sources/mgs_01hx0000000000000000000000:check
source
required
string
/^mgs_[a-z0-9]{26}$/

Example

mgs_01hx0000000000000000000000

Check result

Media typeapplication/json
object
ok
required
boolean
accountId
required
string
nullable
accountName
required
string
nullable
error
required
string
nullable

Example generated

{
"ok": true,
"accountId": "example",
"accountName": "example",
"error": "example"
}

Invalid data

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

No session, expired session, or invalid, expired or revoked API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Does not exist or is not visible to you

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}