Developers

Search the docs

Search guides and headings.

Check your API key

GET/developer/v1/key/get/document
No scope needed

Returns the API key the request was made with: its name, its mode (test or prod), what it may do, the company it belongs to and the number of calls per minute it may make. Use it to confirm that a key works and has the access you expect. It needs no scope.

Response 200

  • company_idstringrequired

    The ID of your company.

  • company_namestringrequired

    The name of your company.

  • company_statusenumrequired

    The status of your company: Sandbox, Live or Suspended.

    • Sandbox
    • Live
    • Suspended
  • key_idstringrequired

    The ID of the key.

  • modeenumrequired

    test for the sandbox, prod for production.

    • test
    • prod
  • namestringrequired

    The name you gave the key.

  • rate_limit_per_minuteintegerrequired

    The number of calls per minute your company may make with this key's mode.

  • scopesarray of enumrequired

    What this key may do right now: the scopes of the key that your company still holds.

Errors

Every error has this shape. Branch on code, not on message. request_id equals the X-Request-Id response header.

jsonError response
{
  "error": {
    "code": "not_found",
    "message": "The object does not exist.",
    "request_id": "req_0123456789abcdef0123456789abcdef"
  }
}
StatusCodeMeaning
401invalid_api_keyThe API key is missing or not valid.
403company_archivedThis company is archived.
403company_not_liveThe company must be live to use prod keys.
403company_suspendedThis company is suspended.
429rate_limitedToo many requests. Wait before calling again.
500internal_errorSomething went wrong on our side. Please try again later.
502upstream_errorA Nurish'd service could not complete the request.
503upstream_unavailableA Nurish'd service is unavailable. Please try again later.
504upstream_timeoutA Nurish'd service did not answer in time. Please try again.

All error codes and what to do about them