Skip to content

Check the Sendy domain ownership TXT record

POST
/v1/migration-sources/{source}:verify-domain
curl --request POST \
--url https://api.replifier.com/v1/migration-sources/mgs_01hx0000000000000000000000:verify-domain

Looks up _replifier-verify.<domain> via DNS over HTTPS. Only if it publishes replifier-verify=<token> does the source become verified and the public routes /sendy/unsubscribe and /sendy/l resolve it; until then they respond as for an unknown source.

source
required
string
/^mgs_[a-z0-9]{26}$/

Example

mgs_01hx0000000000000000000000

Source with its verification status

Media typeapplication/json

Migration source. The credential is never returned.

object
id
required
string
brandId
required
string
kind
required
string
Allowed values: sendy mailchimp
config
required
object
key
additional properties
nullable
status
required
string
Allowed values: connected checking error migrating done
lastError
required
string
nullable
lastSyncAt
required
string
nullable
createdBy
required
string
createdAt
required
string
updatedAt
required
string
verification
required

Proof of ownership of the Sendy domain: the TXT record to publish and whether it has been checked yet. Sendy sources only.

object
recordName
required
string
recordValue
required
string
verified
required
boolean
verifiedAt
required
string
nullable

Example

{
"kind": "sendy",
"status": "connected"
}

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"
}
}

Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)

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"
}
}