Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Platform
App migration platform / Reference / Forge REST API

Forge Resource

Postman Collection
OpenAPI
POST

Update message status

Forge and OAuth2 apps cannot access this REST resource.

Request

Path parameters

transferId

string

Required

Request bodyapplication/json

status

string

messageIds

array<string>

Responses

OK

POST/app/migration/forge/v1/message/{transferId}/status
1 2 3 4 5 6 7 8 9 curl --request POST \ --url 'https://api.atlassian.com/app/migration/forge/v1/message/{transferId}/status' \ --header 'Content-Type: application/json' \ --data '{ "status": "SUCCESS", "messageIds": [ "<string>" ] }'
POST

Find mappings by namespace

Forge and OAuth2 apps cannot access this REST resource.

Request

Path parameters

transferId

string

Required

Query parameters

namespace

string

Required

Request bodyapplication/json

array<string>

Unique items: true

Responses

OK

*/*

object
POST/app/migration/forge/v1/mapping/{transferId}/find
1 2 3 4 5 6 7 curl --request POST \ --url 'https://api.atlassian.com/app/migration/forge/v1/mapping/{transferId}/find?namespace={namespace}' \ --header 'Accept: */*' \ --header 'Content-Type: application/json' \ --data '[ "<string>" ]'
POST

Add log message from the Forge App

Forge and OAuth2 apps cannot access this REST resource.

Request

Path parameters

transferId

string

Required

Request bodyapplication/json

message

string

Responses

OK

POST/app/migration/forge/v1/log/{transferId}
1 2 3 4 5 6 curl --request POST \ --url 'https://api.atlassian.com/app/migration/forge/v1/log/{transferId}' \ --header 'Content-Type: application/json' \ --data '{ "message": "<string>" }'
POST

Get a presigned download URL for a file listing

Forge and OAuth2 apps cannot access this REST resource.

Request

Request bodyapplication/json

fileKey

string

Responses

OK

*/*

FileListingDownloadUrlResponse
POST/app/migration/forge/v1/file-listing/download-url
1 2 3 4 5 6 7 curl --request POST \ --url 'https://api.atlassian.com/app/migration/forge/v1/file-listing/download-url' \ --header 'Accept: */*' \ --header 'Content-Type: application/json' \ --data '{ "fileKey": "<string>" }'
POST

Update event files status

Forge and OAuth2 apps cannot access this REST resource.

Request

Request bodyapplication/json

string

Responses

OK

*/*

string

POST/app/migration/forge/v1/event-files/status
1 2 3 4 5 curl --request POST \ --url 'https://api.atlassian.com/app/migration/forge/v1/event-files/status' \ --header 'Accept: */*' \ --header 'Content-Type: application/json' \ --data '"<string>"'
POST

Get presigned urls for event files

Forge and OAuth2 apps cannot access this REST resource.

Request

Request bodyapplication/json

eventFileIds

array<string>

Responses

OK

*/*

EventFileUrlsResponse
POST/app/migration/forge/v1/event-file/urls
1 2 3 4 5 6 7 8 9 curl --request POST \ --url 'https://api.atlassian.com/app/migration/forge/v1/event-file/urls' \ --header 'Accept: */*' \ --header 'Content-Type: application/json' \ --data '{ "eventFileIds": [ "<string>" ] }'
POST

Retrieves a presigned url that can be used to download the confluence index file for a given transferId

Forge and OAuth2 apps cannot access this REST resource.

Request

Path parameters

transferId

string

Required

Responses

OK

*/*

ConfluenceMacroIndexFileResponse
POST/app/migration/forge/v1/confluenceMacroIndex/{transferId}
1 2 3 curl --request POST \ --url 'https://api.atlassian.com/app/migration/forge/v1/confluenceMacroIndex/{transferId}' \ --header 'Accept: */*'
POST

Get presigned download URLs and per-file errors for up to 250 binary files

HTTP 200 returns files and errors arrays. FILE_UNAVAILABLE means the file could not be found or the caller cannot access it; the response does not distinguish these cases. FILE_LOOKUP_FAILED and URL_GENERATION_FAILED report individual lookup and signing failures. Individual failures do not prevent URLs from being returned for other accessible files. Duplicate IDs are processed once, and response order is not guaranteed. Request-level validation and unexpected backend failures use non-2xx responses. Retrying lookup or URL-generation failures is safe, but they are not guaranteed to be temporary; repeated failures require investigation. A recognized file ID can receive a URL even if its content does not exist; downloading that URL can return 404.

Forge and OAuth2 apps cannot access this REST resource.

Request

Request bodyapplication/json

fileIds

array<string>

Required

Responses

Download URLs and per-file outcomes. Missing or inaccessible files receive FILE_UNAVAILABLE; other accessible files can still receive URLs.

application/json

GetBinaryFileDownloadUrlsResponse
POST/app/migration/forge/v1/binary-file/download-urls
1 2 3 4 5 6 7 8 9 10 curl --request POST \ --url 'https://api.atlassian.com/app/migration/forge/v1/binary-file/download-urls' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "fileIds": [ "binary_file/a5719733-df98-491d-ae34-8dc3da59530c", "binary_file/90be233f-5d6b-4d88-86a9-d1970bba178b" ] }'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 { "files": [ { "fileId": "binary_file/a5719733-df98-491d-ae34-8dc3da59530c", "presignedUrl": "https://presigned.url/first-file?..." } ], "errors": [ { "fileId": "binary_file/90be233f-5d6b-4d88-86a9-d1970bba178b", "code": "FILE_UNAVAILABLE", "message": "File could not be found." } ] }
GET

Returns paginated mappings for a given namespace

Forge and OAuth2 apps cannot access this REST resource.

Request

Path parameters

transferId

string

Required

Query parameters

namespace

string

Required
lastEntity

string

pageSize

integer

Responses

OK

*/*

MigrationMappingDto
GET/app/migration/forge/v1/mapping/{transferId}/page
1 2 3 curl --request GET \ --url 'https://api.atlassian.com/app/migration/forge/v1/mapping/{transferId}/page?namespace={namespace}' \ --header 'Accept: */*'
GET

Returns uploaded file metadata for a transfer Id in a paginated format

Forge and OAuth2 apps cannot access this REST resource.

Request

Path parameters

transferId

string

Required

Query parameters

lastEvaluatedKey

string

pageSize

integer

Responses

OK

*/*

ForgeFileMetadataDtoPage
GET/app/migration/forge/v1/data/{transferId}/page
1 2 3 curl --request GET \ --url 'https://api.atlassian.com/app/migration/forge/v1/data/{transferId}/page' \ --header 'Accept: */*'
GET

Returns all uploaded file keys for a transfer Id

Forge and OAuth2 apps cannot access this REST resource.

Request

Path parameters

transferId

string

Required

Responses

OK

*/*

array<ForgeFileMappingDto>

Unique items: true
GET/app/migration/forge/v1/data/{transferId}/all
1 2 3 curl --request GET \ --url 'https://api.atlassian.com/app/migration/forge/v1/data/{transferId}/all' \ --header 'Accept: */*'
GET

Returns an object containing a signed url to retrieve app data

Forge and OAuth2 apps cannot access this REST resource.

Request

Path parameters

fileKey

string

Required

Responses

OK

*/*

object
GET/app/migration/forge/v1/data/{fileKey}
1 2 3 curl --request GET \ --url 'https://api.atlassian.com/app/migration/forge/v1/data/{fileKey}' \ --header 'Accept: */*'
GET

Retrieves app data for given file key

Forge and OAuth2 apps cannot access this REST resource.

Request

Path parameters

fileKey

string

Required

Responses

OK

application/octet-stream

string

GET/app/migration/forge/v1/data/{fileKey}/payload
1 2 3 curl --request GET \ --url 'https://api.atlassian.com/app/migration/forge/v1/data/{fileKey}/payload' \ --header 'Accept: application/octet-stream'
GET

Returns containers for a given transferId and container Type

Forge and OAuth2 apps cannot access this REST resource.

Request

Path parameters

transferId

string

Required

Query parameters

containerType

string

Required
lastEntity

string

pageSize

integer

Responses

OK

*/*

ContainerByPageResponse
GET/app/migration/forge/v1/container/{transferId}/page
1 2 3 curl --request GET \ --url 'https://api.atlassian.com/app/migration/forge/v1/container/{transferId}/page?containerType={containerType}' \ --header 'Accept: */*'
GET

Retrieves confluence index file for a given transferId

Forge and OAuth2 apps cannot access this REST resource.

Request

Path parameters

transferId

string

Required

Responses

OK

application/octet-stream

string

GET/app/migration/forge/v1/confluenceMacroIndex/download/{transferId}
1 2 3 curl --request GET \ --url 'https://api.atlassian.com/app/migration/forge/v1/confluenceMacroIndex/download/{transferId}' \ --header 'Accept: application/octet-stream'

Rate this page: