# DEA These endpoints allow you to add DEA registration numbers to a provider and perform DEA registration lookups. Unlike license verifications a DEA registration lookup is done immediately. ## Attach a DEA registration number to a provider - [POST /providers/{providerId}/dea/{registrationNumber}](https://test-docs.discovery-staging.verifiable.com/references/development/deprecated/api/dea/attachdearegistration.md): To perform a DEA registration lookup you must first attach a DEA registration number to a provider. Everytime you call this endpoint a new verification will be made. ## Get a specific DEA registration from a provider - [GET /providers/{providerId}/dea/{registrationNumber}](https://test-docs.discovery-staging.verifiable.com/references/development/deprecated/api/dea/getdearegistration.md): Returns the data and latest verification for a specific DEA registration attached to a specific provider. ## Detach a DEA registration number from a provider - [DELETE /providers/{providerId}/dea/{registrationNumber}](https://test-docs.discovery-staging.verifiable.com/references/development/deprecated/api/dea/detachdearegistration.md): This will delete the DEA registration lookup record for the specified provider. ## Get a specific DEA registration verification - [GET /providers/{providerId}/dea/{registrationNumber}/verifications/{verificationId}](https://test-docs.discovery-staging.verifiable.com/references/development/deprecated/api/dea/getdeaverification.md): Returns the data for a specific previously executed DEA registration verification. This endpoint can be used to retrieve historical results on older verifications. ## Resolve problems with a DEA registration verification - [PATCH /providers/{providerId}/dea/{registrationNumber}/verifications/{verificationId}](https://test-docs.discovery-staging.verifiable.com/references/development/deprecated/api/dea/resolvedeaverificationproblems.md): After a verification is executed we sometimes are uncertain about the results we get from the source. For example when the name of the DEA registration does not match the name that was used for the provider. In such cases we mark the verification status as NeedsReview. It is expected that this status is resolved by the end user. The resolution can be patched by using this endpoint. ## Diff two DEA registration verifications - [GET /providers/{providerId}/dea/{registrationNumber}/verifications/{verificationId}/diff](https://test-docs.discovery-staging.verifiable.com/references/development/deprecated/api/dea/getdeaverificationdiff.md): Returns the diff according to jsondiffpatch format between the specified verification and the previous successful verification. ## List all DEA registrations from a provider - [GET /providers/{providerId}/dea](https://test-docs.discovery-staging.verifiable.com/references/development/deprecated/api/dea/listdearegistrations.md): Returns a list of all DEA registrations previously attached to the specified provider. ## List all verifications for a DEA registration - [GET /providers/{providerId}/dea/{registrationNumber}/verifications](https://test-docs.discovery-staging.verifiable.com/references/development/deprecated/api/dea/listdeaverifications.md): It is possible to perform more than one verification for any given DEA registration. In order to go back in history you can use this endpoint to get a list of all verifications for the specified DEA registration.