EmailmoversMyDataHub docs
Browse the docs

Reference

Reference

REST reference

65 operations of the MyDataHub REST API, generated from the OpenAPI 3.1 document.

Generated from the contractsView as Markdown

65 operations in 15 groups, all under https://mydatahub.emailmovers.com/v1. Each page is generated from the OpenAPI 3.1 document, so a member, scope or cost on a page is the one the API is tested against.

Send MyDataHub-Version with a date to pin behaviour, and Idempotency-Key on any request that creates or charges. See Versions and reproducibility and Quotes and orders. Lists return {data, has_more, next_cursor}.

Catalogue

Free and public: plans, datasets, filter fields and values, field sets, title expansion, location resolution and compiling a brief.

OperationEndpointCost
Get plans and pricesGET /v1/plansFree (0 credits)
List datasetsGET /v1/datasetsFree (0 credits)
Get a dataset version changelogGET /v1/datasets/{dataset}/versions/{version}Free (0 credits)
List filter fieldsGET /v1/catalogue/filtersFree (0 credits)
Search filter valuesGET /v1/catalogue/filters/{dimension}/valuesFree (0 credits)
List field setsGET /v1/field-setsFree (0 credits)
Expand job titlesPOST /v1/job-titles/expandFree (0 credits)
Resolve a locationPOST /v1/locations/resolveFree (0 credits)
Compile a briefPOST /v1/audiences/compileFree (0 credits)

Counts

Free and public: counts with breakdowns, and masked samples (previews).

OperationEndpointCost
Count an audiencePOST /v1/countsFree (0 credits)
Get a countGET /v1/counts/{id}Free (0 credits)
Preview sample recordsPOST /v1/previewsFree (0 credits)

Samples

A sample of a counted audience, sent only after a person confirms a work email address, and downloaded once.

OperationEndpointCost
Ask for a sample of a countPOST /v1/sample-requestsFree (0 credits)
Send the confirmation link for a samplePOST /v1/sample-requests/{id}/emailFree (0 credits)
Get a sample requestGET /v1/sample-requests/{id}Free (0 credits)
Confirm a sample and get its download linkPOST /v1/sample-downloadsFree (0 credits)

Audiences

Saved audiences shared across the organisation.

OperationEndpointCost
List saved audiencesGET /v1/audiencesFree (0 credits)
Save an audiencePOST /v1/audiencesFree (0 credits)
Get a saved audienceGET /v1/audiences/{id}Free (0 credits)
Update a saved audiencePATCH /v1/audiences/{id}Free (0 credits)
Delete a saved audienceDELETE /v1/audiences/{id}Free (0 credits)
Refresh a saved audiencePOST /v1/audiences/{id}/refreshFree (0 credits)

Quotes

Machine quotes (24 hours, free and public) and human sales quotes (14 days).

OperationEndpointCost
Quote an orderPOST /v1/quotesFree (0 credits)
Get a quoteGET /v1/quotes/{id}Free (0 credits)

Orders

Spend credits against a machine quote; status, cancellation and the signed compliance receipt.

OperationEndpointCost
List ordersGET /v1/ordersFree (0 credits)
Create an order (spends credits)POST /v1/orders1 credit per complete UK record (uk_contacts). Suppressed, duplicate and already held records cost 0.
Get an orderGET /v1/orders/{id}Free (0 credits)
Cancel a queued orderPOST /v1/orders/{id}/cancelFree (0 credits)
Get the compliance receiptGET /v1/orders/{id}/receiptFree (0 credits)

Records

Delivered records under licence, as pages or a signed download. Free.

OperationEndpointCost
Fetch order recordsGET /v1/orders/{id}/recordsFree (0 credits)
Download order recordsGET /v1/orders/{id}/downloadFree (0 credits)

Lookups

Company lookup (free) and contact enrichment (1 credit on a confident match).

OperationEndpointCost
Look up a companyPOST /v1/companies/lookupFree (0 credits)
Enrich a contact (spends credits)POST /v1/contacts/enrich1 credit on a confident match; 0 on no match or when already licensed.

Suppressions

Suppression lists, checks before a send, and objections.

OperationEndpointCost
List suppression listsGET /v1/suppressionsFree (0 credits)
Upload a suppression listPOST /v1/suppressionsFree (0 credits)
Check suppressionPOST /v1/suppressions/checkFree (0 credits)
Report an objectionPOST /v1/objectionsFree (0 credits)

Compliance

Public: the trust document, the LIA and compliance receipt verification.

OperationEndpointCost
Get the trust documentGET /v1/trustFree (0 credits)
Get the legitimate interests assessmentGET /v1/compliance/liaFree (0 credits)
Verify a compliance receiptPOST /v1/compliance/receipts/verifyFree (0 credits)

Account

Balance, plan, usage, credits bought by card, and ending a rolling plan.

OperationEndpointCost
Get the accountGET /v1/accountFree (0 credits)
Confirm the business detailsPATCH /v1/accountFree (0 credits)
Accept the data processing agreementPOST /v1/account/agreementsFree (0 credits)
Get account usageGET /v1/account/usageFree (0 credits)
Cancel the planPOST /v1/account/cancelFree (0 credits)
List credit purchasesGET /v1/account/purchasesFree (0 credits)
Buy credits by cardPOST /v1/account/purchasesFree (0 credits)
Get a credit purchaseGET /v1/account/purchases/{id}Free (0 credits)

Keys

API keys and agent keys with budgets.

OperationEndpointCost
List API keysGET /v1/api-keysFree (0 credits)
Create an API keyPOST /v1/api-keysFree (0 credits)
Update an API keyPATCH /v1/api-keys/{id}Free (0 credits)
Revoke an API keyDELETE /v1/api-keys/{id}Free (0 credits)

CRM push

CRM connections, the New to you overlap check and record pushes.

OperationEndpointCost
List CRM connectionsGET /v1/connectionsFree (0 credits)
Create a CRM connectionPOST /v1/connectionsFree (0 credits)
Check CRM overlapPOST /v1/connections/{id}/overlapFree (0 credits)
Push an order to a CRMPOST /v1/orders/{id}/pushesFree (0 credits)
Get a pushGET /v1/pushes/{id}Free (0 credits)
Retry a pushPOST /v1/pushes/{id}/retryFree (0 credits)

Webhooks

Webhook endpoints and the 30 day event log.

OperationEndpointCost
List webhook endpointsGET /v1/webhooksFree (0 credits)
Create a webhook endpointPOST /v1/webhooksFree (0 credits)
Delete a webhook endpointDELETE /v1/webhooks/{id}Free (0 credits)
Send a test eventPOST /v1/webhooks/{id}/testFree (0 credits)
List eventsGET /v1/eventsFree (0 credits)

Meta

This document and the health check.

OperationEndpointCost
Get this OpenAPI documentGET /v1/openapi.jsonFree (0 credits)
Check healthGET /v1/healthFree (0 credits)