All requests to the API must be authenticated with an API key. You can view your API key in your account dashboard when you are logging in: https://godiddy.com/dashboard
To authenticate API calls, include an Authorization:
HTTP header with your API key in every request:
Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0
See Universal Resolver for more information and examples about the Universal Resolver component of GoDiddy.
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X GET "https://api.godiddy.com/0.1.0/universal-resolver/identifiers/did:key:z6Mkto1GQWLnh2XKCA1JPrxjL4DrKvBPdf5N17ueNs3NJWGu"
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-H "Accept: application/did+ld+json" \
-X GET "https://api.godiddy.com/0.1.0/universal-resolver/identifiers/did:key:z6Mkto1GQWLnh2XKCA1JPrxjL4DrKvBPdf5N17ueNs3NJWGu"
See Universal Registrar for more information and examples about the Universal Resolver component of GoDiddy.
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X POST "https://api.godiddy.com/0.1.0/universal-registrar/create?method=key" \
-H "Content-Type: application/json" \
-d '{ "didDocument": { }, "options": {}, "secret": {}}'
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X POST "https://api.godiddy.com/0.1.0/universal-registrar/create?method=indy" \
-H "Content-Type: application/json" \
-d '{ "didDocument": { "@context": ["https//www.w3.org/ns/did/v1"], "service": [] }, "options": { "network": "danube" }, "secret": {}}'
See Wallet Service for more information and examples about the Wallet Service component of GoDiddy.
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X GET "https://api.godiddy.com/0.1.0/wallet-service/controllers" \
-H "Accept: application/json"
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X GET "https://api.godiddy.com/0.1.0/wallet-service/keys" \
-H "Accept: application/json"
See Version Service for more information and examples about the Version Service component of GoDiddy.
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X GET "https://api.godiddy.com/0.1.0/version-service/didrecords?method=indy&limit=5" \
-H "Accept: application/json"
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X GET "https://api.godiddy.com/0.1.0/version-service/didrecords?did=did:indy:sovrin:DjxRxnL4gXsncbH8jM8ySM&versionTime=1544916028000" \
-H "Accept: application/json"