MijnPartnerGroep Domain API
Home
MijnPartnerGroep.nl
Ondersteunde Partners
Ondersteunde Partners
  • MijnHostingPartner.nl
  • MijnDomeinPartner.nl
  • MijnWordPressPartner.nl
  • WebHoster.nl
Home
MijnPartnerGroep.nl
Ondersteunde Partners
Ondersteunde Partners
  • MijnHostingPartner.nl
  • MijnDomeinPartner.nl
  • MijnWordPressPartner.nl
  • WebHoster.nl
  1. Home
  • Home
  • Authentication
  • Getting started
  • Error handling
  • Authentication
    • Authenticate to the API
      POST
  • Whois
    • Check WHOIS for a single domain
      GET
    • Check WHOIS for multiple domains
      POST
  • Domain
    • Register a single domain
      POST
    • Register multiple domains
      POST
  • DomainHolder
    • Create a new DomainHolder
      PUT
    • Get a DomainHolder by ID or email address
      POST
    • Delete a DomainHolder
      DELETE
    • Update an existing DomainHolder
      PATCH
  • DNS
    • ListDomain
      GET
    • GetRecords
      GET
    • AddRecord
      PUT
    • UpdateRecord
      PATCH
    • DeleteRecord
      POST
  • Schemas
    • Schemas
      • DomainHolderSearch
      • Record
      • Domain
      • Zones
      • DomainHolder
      • BulkRegisterRequest
    • Response
      • AuthenticationSuccess
      • AuthorizationFailed
      • BadRequest
      • PaymentRequired
      • Unauthorized
      • NotFound
      • MethodNotAllowed
      • UnprocessableEntity
      • InternalServerError
  1. Home

Authentication

How to authenticate#

This API uses Bearer Auth with JSON Web Tokens (JWT).
All requests must include this HTTP header:

Authorization: Bearer <your-token>

Obtaining a token#

To authenticate with our API, send a POST request to the authentication endpoint using your client credentials:
If the credentials are valid, you’ll receive a JSON Web Token (JWT) in the response:
{
  "status": "success",
  "token": "YOUR_JWT_TOKEN",
  "expires_in": 3600
}
Use this token to authorize all subsequent requests by including it in the Authorization header:
Note: Replace YOUR_CLIENT_ID, YOUR_CLIENT_SECRET, and YOUR_JWT_TOKEN with your actual credentials.

Be sure your token:#

Is active and not expired
Has not exceeded usage quotas
Belongs to a account with direct-debit enabled

Example request#

A missing or invalid token will return:
401 Unauthorized – Authentication credentials are missing or incorrect
See the Error Handling page for full details on error codes.
Modified at 2025-08-06 15:38:26
Previous
Home
Next
Getting started
Built with