Reference
Confirm the business details
PATCH /v1/account. Set the organisation's business name and confirm that it is a UK business.
PATCH /v1/account
Set the organisation's business name and confirm that it is a UK business. Self-serve sign-up asks for both. An organisation it made before it asked, without them, needs both before its first order or enrichment, free or paid, and before it buys credits: until then POST /v1/orders, POST /v1/contacts/enrich and POST /v1/account/purchases answer 403 business-details-required and charge nothing. A signed-in person who owns the account confirms them, through OAuth (with account:write, or admin) or in the app; an API key cannot. An organisation Emailmovers set up keeps the name staff gave it and needs no business details, so it is refused with 422 (organisation.business_details.name_editable is false).
| Property | Value |
|---|---|
| Endpoint | PATCH https://mydatahub.emailmovers.com/v1/account |
| Operation id | updateAccount |
| Cost | Free (0 credits) |
| Access | A signed-in person only: an OAuth 2.1 token with the scope account:write. API keys are refused. |
| Tag | Account |
Request
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
MyDataHub-Version | header | string | no | The 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. |
Body
| Member | Type | Required | Description |
|---|---|---|---|
business_name | string | yes | The organisation's business name, 1 to 200 characters, with no control character such as a line break. |
uk_business | true | yes | true confirms that the organisation is a UK business. |
Example request
curl -X PATCH "https://mydatahub.emailmovers.com/v1/account" \
-H "Authorization: Bearer $MYDATAHUB_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"business_name": "Example Trading Ltd",
"uk_business": true
}'Responses
200: The account.
Headers: RateLimit, RateLimit-Policy.
| Member | Type | Always present | Description |
|---|---|---|---|
organisation | object | yes | |
organisation.id | string | yes | Format: an organisation id: org_ followed by a 26 character ULID in upper case Crockford base32, such as org_01JA0Q2V7XN3M9R6T1Y5W8ZAK8. |
organisation.name | string | yes | |
organisation.business_details | BusinessDetails | yes | Whether the business name and a UK business confirmation are on record, which a self-serve account needs before its first order and before it buys credits. |
user | object or null | yes | The signed-in person; null when the caller is an API key. |
user.id | string | yes | Format: a user id: usr_ followed by a 26 character ULID in upper case Crockford base32, such as usr_01JA0Q3V7XN3M9R6T1Y5W8ZAK8. |
user.name | string | yes | |
mode | enum: live, test | yes | live keys (mdh_live_) spend real credits; test keys (mdh_test_) return synthetic data and never charge. |
plan | object | yes | |
plan.id | string | yes | |
plan.name | string | yes | |
plan.kind | enum: free, subscription, pack | yes | |
plan.renews_at | string (date) or null | yes | |
plan.cancel_at_period_end | boolean | yes | |
balance | object | yes | Credits by source. |
balance.credits | number | yes | Credits available to spend now. |
balance.pack_credits | number | yes | From credit packs: never expire. |
balance.subscription_credits | number | yes | From the plan: roll over while subscribed, up to the cap. |
balance.rollover_cap | integer (0 or more) or null | yes | |
balance.low_threshold | integer (0 or more) or null | yes | The credits.low webhook fires when the balance crosses this. |
prices | array of CreditRule | yes | What each action costs in credits. |
prices[].action | string | yes | |
prices[].label | string | yes | |
prices[].credits | number (0 or more) | yes | Credits, to one decimal place: whole at 1 credit a record, fractional only where a rule is (0.1 company-only, 1.8 outright, both proposed). |
prices[].unit | enum: call, record, match | yes | |
prices[].status | enum: confirmed, proposed, to_confirm | yes | confirmed is in force; proposed awaits a decision; to_confirm is a figure still being checked. |
prices[].note | string | no | |
gbp_per_credit | number (0 or more) | yes | Your plan's price per credit, excluding VAT. |
rate_limit | RateLimit | yes | The caller's count limits and what remains in the window. |
rate_limit.tier | enum: anonymous, free, paid | yes | |
rate_limit.counts_per_minute | integer (0 or more) or null | yes | |
rate_limit.counts_per_hour | integer (0 or more) or null | yes | |
rate_limit.counts_per_day | integer (0 or more) or null | yes | |
rate_limit.remaining | integer (0 or more) | yes | |
rate_limit.resets_at | string (date-time) | yes | |
rate_limit.status | enum: confirmed, to_confirm | yes | |
key | object or null | yes | The calling key and, for an agent key, its budget; null for a person. |
key.id | string | yes | Format: an API key id: key_ followed by a 26 character ULID in upper case Crockford base32, such as key_01JB3Z4Q2V7XN3M9R6T1Y5W8ZA. |
key.kind | enum: standard, agent | yes | |
key.budget | Budget or null | yes | |
key.per_order_max_credits | integer (0 or more) or null | yes | |
key.expires_at | string (date-time) or null | yes | |
account_manager | object or null | yes | The named person behind Talk to us. |
account_manager.name | string | yes | |
account_manager.calendar_url | string (uri) | yes | |
agreements | object | yes | The Terms of Sale (accepted at sign-up; accepted: null for an organisation Emailmovers set up), the Data Licence and Sharing Agreement (the licence: accepted with every order, or with an agent key that orders on its own) and the Article 28 DPA (accepted with the first suppression list). |
agreements.terms | Agreement | yes | |
agreements.dlsa | Agreement | yes | |
agreements.dpa | Agreement | yes |
Example response
{
"organisation": {
"id": "org_01JA0Q2V7XN3M9R6T1Y5W8ZAK8",
"name": "Example Trading Ltd",
"business_details": {
"confirmed_at": "2026-10-18T09:30:00Z",
"required_before_order": false,
"name_editable": true
}
},
"user": {
"id": "usr_01JA0Q3V7XN3M9R6T1Y5W8ZAK8",
"name": "[email protected]"
},
"mode": "live",
"plan": {
"id": "free",
"name": "Free",
"kind": "free",
"renews_at": null,
"cancel_at_period_end": false
},
"balance": {
"credits": 100,
"pack_credits": 100,
"subscription_credits": 0,
"rollover_cap": null,
"low_threshold": null
},
"prices": [
{
"action": "count",
"label": "Count, breakdown, preview, machine quote, catalogue, title expansion",
"credits": 0,
"unit": "call",
"status": "confirmed"
},
{
"action": "record",
"label": "Full UK contact record delivered, any channel or field set",
"credits": 1,
"unit": "record",
"status": "confirmed"
},
{
"action": "company_only_record",
"label": "Company-only record (no named contact)",
"credits": 0.1,
"unit": "record",
"status": "proposed"
},
{
"action": "enrich_contact",
"label": "Contact enrichment, match found",
"credits": 1,
"unit": "match",
"status": "confirmed",
"note": "0 if already licensed"
},
{
"action": "lookup_company",
"label": "Company lookup, no contact details",
"credits": 0,
"unit": "call",
"status": "to_confirm"
},
{
"action": "outright",
"label": "Outright ownership",
"credits": 1.8,
"unit": "record",
"status": "proposed"
}
],
"gbp_per_credit": 0.299,
"rate_limit": {
"tier": "free",
"counts_per_minute": 60,
"counts_per_hour": null,
"counts_per_day": 1000,
"remaining": 59,
"resets_at": "2026-09-26T10:15:00Z",
"status": "to_confirm"
},
"key": null,
"account_manager": null,
"agreements": {
"terms": {
"name": "Terms of Sale",
"version": "1.0",
"url": "https://emailmovers.com/terms-of-sale/",
"accepted": {
"version": "1.0",
"accepted_at": "2026-11-02T09:58:00Z",
"accepted_by": "usr_01JB4H8Q2V7XN3M9R6T1Y5W8ZA"
},
"accepted_version": "1.0",
"in_force": true
},
"dlsa": {
"name": "Data Licence and Sharing Agreement",
"version": "1.0",
"url": "https://emailmovers.com/data-licence/",
"accepted": {
"version": "1.0",
"accepted_at": "2026-11-02T10:12:00Z",
"accepted_by": "usr_01JB4H8Q2V7XN3M9R6T1Y5W8ZA"
},
"accepted_version": "1.0",
"in_force": true
},
"dpa": {
"name": "Article 28 data processing agreement",
"version": "1.0",
"url": "https://emailmovers.com/dpa/",
"accepted": null,
"accepted_version": null,
"in_force": false
}
}
}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.
| Status | Problem codes | When |
|---|---|---|
| 400 | invalid-request, idempotency-key-required, unsupported-version | The request could not be read, or an Idempotency-Key is missing. |
| 401 | authentication-required, account-required | Sign in (OAuth) or send an API key (authentication-required), or create a free account for what the anonymous tier does not cover (account-required). |
| 403 | insufficient-scope, confirmation-required, business-details-required, licence-acceptance-required, dpa-acceptance-required, agent-budget-exceeded | The 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 and a card purchase of credits need (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. |
| 422 | validation-failed, quote-required, dataset-unavailable | The request is not valid. errors lists every problem with a JSON pointer and did_you_mean. |
| 429 | rate-limited | Too many requests. Wait for Retry-After. |
| Any other failure | internal-error, service-unavailable, tps-screen-expired | Something 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. |