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
  • Authenticate to the API
    POST
  • Check WHOIS for a single domain
    GET
  • Check WHOIS for multiple domains
    POST
  • Create a new DomainHolder
    PUT
  • Get a DomainHolder by ID or email address
    POST
  • Update an existing DomainHolder
    PATCH
  • Delete a DomainHolder
    DELETE
  • Register a single domain
    POST
  • Register multiple domains
    POST
  • Schemas
    • Schemas
      • DomainHolderSearch
      • DomainHolder
      • BulkRegisterRequest
      • Domain
    • Response
      • AuthenticationSuccess
      • AuthorizationFailed
      • BadRequest
      • PaymentRequired
      • Unauthorized
      • NotFound
      • MethodNotAllowed
      • UnprocessableEntity
      • InternalServerError
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

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