---
title: "ApiKeyCredentialCreationResponse"
url: "https://nov18-dev.movespot.fyi/apis/portal-developer-applications-2/versions/3bce3c1f-0ff6-442b-b037-768253e6d227/schemas/ApiKeyCredentialCreationResponse"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/portal-developer-applications-2/versions/3bce3c1f-0ff6-442b-b037-768253e6d227.md

# ApiKeyCredentialCreationResponse

Response when creating an API key credential.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Portal Developer Applications
  version: 3.3.3
components:
  schemas:
    UUID:
      description: Contains a unique identifier used for this resource.
      type: string
      format: uuid
      example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7
      readOnly: true
    CreatedAt:
      description: An ISO-8601 timestamp representation of entity creation date.
      type: string
      format: date-time
      example: 2022-11-04T20:10:06.927Z
      readOnly: true
    ApiKeyCredentialCreationResponse:
      description: Response when creating an API key credential.
      type: object
      properties:
        type:
          type: string
          enum:
            - api_key
          readOnly: true
        id:
          $ref: "#/components/schemas/UUID"
        display_name:
          type: string
        credential:
          description: The API key value (only returned on creation)
          type: string
        status:
          type: string
          enum:
            - active
            - expired
            - revoked
          readOnly: true
        expires_at:
          type: string
          format: date-time
          nullable: true
          readOnly: true
        created_at:
          $ref: "#/components/schemas/CreatedAt"
      additionalProperties: false
      required:
        - type
        - id
        - display_name
        - credential
        - created_at
```
