> ## Documentation Index
> Fetch the complete documentation index at: https://docs.go.gbgplc.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Fetch journey state

> Check the status and progress of a journey. The [fetch journey state guide](/docs/developer-integration/execute-customer-journeys/fetch-journey-state-step) explains more.



## OpenAPI

````yaml docs/go-v1/openapi-v1.json POST /journey/state/fetch
openapi: 3.0.3
info:
  title: GBG GO API Reference
  description: >-
    The GBG GO API enables authentication, customer journey execution, task
    management, and tracking verification progress.
  version: 1.0.0
  license:
    name: MIT
servers:
  - url: https://eu.platform.go.gbgplc.com/captain/api
  - url: https://us.platform.go.gbgplc.com/captain/api
  - url: https://au.platform.go.gbgplc.com/captain/api
  - url: https://api.auth.gbgplc.com/as/token.oauth2
security:
  - bearerAuth: []
paths:
  /journey/state/fetch:
    post:
      summary: Fetch journey state
      description: >-
        Check the status and progress of a journey. The [fetch journey state
        guide](/docs/developer-integration/execute-customer-journeys/fetch-journey-state-step)
        explains more.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                instanceId:
                  type: string
                  description: Unique identifier for the journey instance.
                  example: PiIuACmx8Q8R7qPnAkLAqBAT
              required:
                - instanceId
      responses:
        '200':
          description: Journey state retrieved successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  metaData:
                    type: object
                    description: Timestamps related to the journey instance.
                    properties:
                      createdTime:
                        type: string
                        format: date-time
                        description: Timestamp when the journey was created.
                        example: '2024-02-15T22:16:33.213Z'
                      completedTime:
                        type: string
                        format: date-time
                        description: >-
                          Timestamp when the journey was completed, if
                          applicable.
                        example: '2024-02-15T22:16:33.213Z'
                  status:
                    type: string
                    description: >-
                      Current status of the journey (e.g., InProgress,
                      Completed).
                    example: InProgress
                  data:
                    type: object
                    description: Additional data related to the journey instance.
                  instanceId:
                    type: string
                    description: Unique identifier for the journey instance.
                    example: PiIuACmx8Q8R7qPnAkLAqBAT
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````