# Move from the /v1-* paths

> The previous lookup paths still work; here is how they map to the current ones.

Integrations built on the previous paths keep working with the same API keys, so nothing breaks. New code should use the current paths, which are the ones the [API reference](https://api.phone-check.app/developers/reference) documents.

| Previous path | Current path |
| --- | --- |
| `/v1-get-phone-details` | `GET /phone/details` |
| `/v1-get-phone-extra-details` | `GET /phone/extra-details` |
| `/v1-get-phone-full-details` | `GET /phone/full-details` |

## What changes when you switch

- The lookup and the credits are the same.
- The previous paths answer with their old body, which can carry an `error` string beside the fields. The current paths answer the documented fields only and report failures as an HTTP error status with `{ "error", "message" }`. See [Errors, credits and rate limits](https://support.phone-check.app/api-reference/errors-credits-and-rate-limits).

## Switch safely

1. Change the base path in one place in your code.
2. Compare a few answers from both paths for numbers you know, field by field.
3. Remove any check of the old `error` field and handle HTTP error statuses instead.
