---
title: "Get an application registration"
url: "https://nov18-dev.movespot.fyi/apis/portal-registrations-2/versions/c62d6d7d-031a-4118-beb1-db6b32c22820/operations/get-application-registration"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/portal-registrations-2/versions/c62d6d7d-031a-4118-beb1-db6b32c22820.md

# Get an application registration

`GET` `/api/v2/applications/{applicationId}/registrations/{registrationId}`

Operation ID: `get-application-registration`

Retrieves the specified product registration for an application.

## Path parameters

- `applicationId` (string, uuid, required) - Id of the targeted application
- `registrationId` (string, uuid, required) - Contains a unique identifier used by the Portal API for this resource.

## Responses

- `200` - Get registration response.
- `401` - Unauthorized
- `404` - Not Found

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Portal Registrations
  version: 2.0.0
paths:
  /api/v2/applications/{applicationId}/registrations/{registrationId}:
    get:
      operationId: get-application-registration
      summary: Get an application registration
      description: Retrieves the specified product registration for an application.
      parameters:
        - $ref: "#/components/parameters/ApplicationId"
        - $ref: "#/components/parameters/RegistrationId"
      responses:
        "200":
          $ref: "#/components/responses/GetRegistration"
        "401":
          $ref: "#/components/responses/Unauthorized"
        "404":
          $ref: "#/components/responses/NotFound"
      security:
        - portalAccessToken: []
      tags:
        - registrations
security:
  - portalAccessToken: []
components:
  parameters:
    ApplicationId:
      name: applicationId
      in: path
      required: true
      description: Id of the targeted application
      schema:
        type: string
        format: uuid
    RegistrationId:
      name: registrationId
      in: path
      required: true
      description: Contains a unique identifier used by the Portal API for this resource.
      schema:
        type: string
        format: uuid
  responses:
    GetRegistration:
      description: Get registration response.
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/GetRegistrationResponse"
    Unauthorized:
      description: Unauthorized
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/UnauthorizedError"
          examples:
            UnauthorizedExample:
              $ref: "#/components/examples/UnauthorizedExample"
    NotFound:
      description: Not Found
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/NotFoundError"
          examples:
            NotFoundExample:
              $ref: "#/components/examples/NotFoundExample"
  schemas:
    GetRegistrationResponse:
      type: object
      properties:
        id:
          $ref: "#/components/schemas/UUID"
        created_at:
          $ref: "#/components/schemas/CreatedAt"
        updated_at:
          $ref: "#/components/schemas/UpdatedAt"
        status:
          description: The approval status of the registration.
          type: string
          enum:
            - approved
            - pending
            - rejected
            - revoked
        product_id:
          description: Contains a unique identifier used by the Portal API for this
            resource.
          type: string
          format: uuid
        product_name:
          description: The name of the product. This is the name that is displayed in the
            developer portal.
          type: string
        product_version_id:
          description: Contains a unique identifier used by the Portal API for this
            resource.
          type: string
          format: uuid
        product_version_name:
          description: The name of the product version. This is the version label that is
            displayed in the developer portal.
          type: string
        application_id:
          description: Contains a unique identifier used by the Portal API for this
            resource.
          type: string
          format: uuid
        granted_scopes:
          description: |
            Cached list of scopes granted for the given application registration.
            Use `/api/v2/applications/{applicationId}/registrations/{registrationId}/granted-scopes` to get up to date granted scopes from the IDP.
            This property will be omitted if not supported by the application.
          type: array
          items:
            type: string
          deprecated: true
      additionalProperties: false
      required:
        - id
        - status
        - application_id
        - product_id
        - product_name
        - product_version_id
        - product_version_name
        - created_at
        - updated_at
    UnauthorizedError:
      allOf:
        - $ref: "#/components/schemas/BaseError"
        - type: object
          properties:
            status:
              example: 401
            title:
              example: Unauthorized
            type:
              example: https://httpstatuses.com/401
            instance:
              example: kong:trace:1234567890
            detail:
              example: Invalid credentials
    NotFoundError:
      allOf:
        - $ref: "#/components/schemas/BaseError"
        - type: object
          properties:
            status:
              example: 404
            title:
              example: Not Found
            type:
              example: https://httpstatuses.com/404
            instance:
              example: kong:trace:1234567890
            detail:
              example: Not found
    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
    UpdatedAt:
      description: An ISO-8601 timestamp representation of entity update date.
      type: string
      format: date-time
      example: 2022-11-04T20:10:06.927Z
      readOnly: true
    BaseError:
      description: standard error
      type: object
      properties:
        status:
          description: >
            The HTTP status code of the error. Useful when passing the response

            body to child properties in a frontend UI. Must be returned as an
            integer.
          type: integer
          readOnly: true
        title:
          description: |
            A short, human-readable summary of the problem. It should not
            change between occurences of a problem, except for localization.
            Should be provided as "Sentence case" for direct use in the UI.
          type: string
          readOnly: true
        type:
          description: The error type.
          type: string
          readOnly: true
        instance:
          description: |
            Used to return the correlation ID back to the user, in the format
            kong:trace:<correlation_id>. This helps us find the relevant logs
            when a customer reports an issue.
          type: string
          readOnly: true
        detail:
          description: >
            A human readable explanation specific to this occurence of the
            problem.

            This field may contain request/entity data to help the user
            understand

            what went wrong. Enclose variable values in square brackets. Should
            be

            provided as "Sentence case" for direct use in the UI.
          type: string
          readOnly: true
      required:
        - status
        - title
        - instance
        - detail
      title: Error
  examples:
    UnauthorizedExample:
      value:
        status: 401
        title: Unauthorized
        instance: kong:trace:8347343766220159418
        detail: Unauthorized
    NotFoundExample:
      value:
        status: 404
        title: Not Found
        instance: kong:trace:6816496025408232265
        detail: Not Found
  securitySchemes:
    portalAccessToken:
      type: apiKey
      in: cookie
      name: portalaccesstoken
      description: >
        The Developer portal cookie is meant to be used by the Developer API to
        authenticate with.
```
