EmailmoversMyDataHub docs
Browse the docs

Reference / REST reference

Reference

Retry a push

POST /v1/pushes/{id}/retry. Retry the failed records of a partial or failed push.

Generated from the contractsView as Markdown

POST /v1/pushes/{id}/retry

Retry the failed records of a partial or failed push. A live retry needs the same approval as the push it retries.

PropertyValue
EndpointPOST https://mydatahub.emailmovers.com/v1/pushes/{id}/retry
Operation idretryPush
CostFree (0 credits)
AccessAn API key or an OAuth 2.1 token with the scope pushes:write.
Idempotency-KeyOptional. Makes a retry safe.
TagCRM push

Request

Parameters

NameInTypeRequiredDescription
idpathstringyesFormat: a CRM push id: psh_ followed by a 26 character ULID in upper case Crockford base32, such as psh_01JB4NC3W2X6Y7Z8A1B2C3D4E5.
MyDataHub-VersionheaderstringnoThe dated API version, pinned per key when left out. Non-breaking changes ship as new dates; the path major changes only for breaking changes, with a 12 month deprecation window.
Idempotency-KeyheaderstringnoMakes the request safe to retry: the same key returns the stored response. Keys are kept for the life of the organisation.

Example request

curl -X POST "https://mydatahub.emailmovers.com/v1/pushes/psh_01JB4NC3W2X6Y7Z8A1B2C3D4E5/retry" \
  -H "Authorization: Bearer $MYDATAHUB_API_KEY"

Responses

202: The push, queued again.

Headers: RateLimit, RateLimit-Policy.

MemberTypeAlways presentDescription
idstringyesFormat: a CRM push id: psh_ followed by a 26 character ULID in upper case Crockford base32, such as psh_01JB4NC3W2X6Y7Z8A1B2C3D4E5.
order_idstringyesFormat: an order id: ord_ followed by a 26 character ULID in upper case Crockford base32, such as ord_01JB4N9S3W2X6Y7Z8A1B2C3D4E.
connection_idstringyesFormat: a CRM connection id: conn_ followed by a 26 character ULID in upper case Crockford base32, such as conn_01JB3Y2X6Y7Z8A1B2C3D4E5F6G.
dry_runbooleanyes
statusenum: queued, running, completed, partial, failedyes
summaryobjectyes
summary.to_createinteger (0 or more)yes
summary.to_updateinteger (0 or more)yes
summary.already_presentinteger (0 or more)yes
summary.skippedinteger (0 or more)yes
summary.failedinteger (0 or more)yes
property_grouparray of enum: mydatahub_record_id, licence_expires_at, lawful_basis, article14_status, tps_ctps_screened_at, subscriber_class, suppression_status, compliance_receipt_urlyesThe MyDataHub property group written on every record (CrmPropertyGroup).
sampleCrmPropertyGroup or nullyesOn a dry run: the property group the first record would carry.
sample.mydatahub_record_idstringyesThe record id: a Salesforce External ID, a HubSpot unique property, a Pipedrive custom field.
sample.licence_expires_atstring (date) or nullyes
sample.lawful_basisenum: legitimate_interests_art6_1_fyes
sample.article14_statusenum: notified, publicly_notified_disproportionate_effort, pending_within_windowyes
sample.tps_ctps_screened_atstring (date) or nullyes
sample.subscriber_classenum: ltd, plc, llp, scottish_partnership, public_body, charity_incorporated, sole_trader, ordinary_partnership, and 1 moreyes
sample.suppression_statusenum: none, objected_to_emailmovers, objected_to_licensee, deceased, left_companyyesKept current: an objection reaching the record updates it in the CRM.
sample.compliance_receipt_urlstring (uri)yes
errorsarray of objectyes
errors[].record_idstringyes
errors[].messagestringyes
created_atstring (date-time)yes
completed_atstring (date-time) or nullyes

Example response

{
  "id": "psh_01JB4NC3W2X6Y7Z8A1B2C3D4E5",
  "order_id": "ord_01JB4N9S3W2X6Y7Z8A1B2C3D4E",
  "connection_id": "conn_01JB3Y2X6Y7Z8A1B2C3D4E5F6G",
  "dry_run": false,
  "status": "queued",
  "summary": {
    "to_create": 4102,
    "to_update": 0,
    "already_present": 0,
    "skipped": 0,
    "failed": 0
  },
  "property_group": [
    "mydatahub_record_id",
    "licence_expires_at",
    "lawful_basis",
    "article14_status",
    "tps_ctps_screened_at",
    "subscriber_class",
    "suppression_status",
    "compliance_receipt_url"
  ],
  "sample": {
    "mydatahub_record_id": "contact_01JA9X2V7XN3M9R6T1Y5W8ZAK8",
    "licence_expires_at": "2027-09-26",
    "lawful_basis": "legitimate_interests_art6_1_f",
    "article14_status": "notified",
    "tps_ctps_screened_at": "2026-09-12",
    "subscriber_class": "ltd",
    "suppression_status": "none",
    "compliance_receipt_url": "https://mydatahub.emailmovers.com/receipts/rcpt_01JB4NA2Q5W8ZAK8Q2V7XN3M9R"
  },
  "errors": [],
  "created_at": "2026-09-26T10:20:00Z",
  "completed_at": null
}

Errors

Every error is a problem object with a code and a next_step. Every response carries the RateLimit and RateLimit-Policy headers; see Rate limits.

StatusProblem codesWhen
400invalid-request, idempotency-key-required, unsupported-versionThe request could not be read, or an Idempotency-Key is missing.
401authentication-required, account-requiredSign in (OAuth) or send an API key (authentication-required), or create a free account for what the anonymous tier does not cover (account-required).
403insufficient-scope, confirmation-required, business-details-required, licence-acceptance-required, dpa-acceptance-required, agent-budget-exceededThe token lacks a scope (insufficient-scope, with required_scope and a WWW-Authenticate step-up challenge); no person confirmed the spend and no agent key covers it (confirmation-required, with an approval_url); an agent key's per-order cap or monthly budget does not cover it (agent-budget-exceeded); an account made by self-serve sign-up has not yet confirmed its business name and that it is a UK business, which its first order needs (business-details-required); the order needs the Data Licence and Sharing Agreement accepted at the version in force (licence-acceptance-required); or a suppression upload comes before the organisation has accepted the Article 28 data processing agreement in force (dpa-acceptance-required). Nothing is charged.
404not-foundNo such object for this organisation.
409idempotency-key-reused, quote-expired, order-not-ready, order-not-cancellableAn Idempotency-Key reused with different parameters, an expired machine quote, or an object in the wrong state.
429rate-limitedToo many requests. Wait for Retry-After.
Any other failureinternal-error, service-unavailable, tps-screen-expiredSomething failed on our side (500 internal-error) or the service is briefly unavailable (503 service-unavailable, with Retry-After). Nothing was charged; retry with the same Idempotency-Key. A count, sample, quote or order with telephone in play is also refused with 503 tps-screen-expired, with no Retry-After, while the dataset version's TPS and CTPS screen is more than 28 days old.