Issue another API key for a client company.
Use this endpoint to create an API key for a company you created. The response contains the key once. Store it with the company's record in your system: it can't be retrieved again, and every later response shows it redacted. If you lose it, rotate the key to issue a replacement.
The key is the same kind of key as the one returned when you create the company. It begins with tsk_prod_2 for a Production company, or tsk_test_2 for a Sandbox company. Give each integration its own key, with a label that says what it is for, so you can rotate or retire one without touching the rest.
Errors
| Status | Meaning |
|---|---|
401 | The API key is missing, malformed or expired. |
404 | No company with this ID belongs to your partner account. |
412 | Custom API integrations aren't enabled for this company. |
422 | label is missing, blank or too long. |
Part of Company API keys. Authenticate with your partner API key, as for every endpoint in this section: see Authentication.