メインコンテンツまでスキップ

Create the freee connect URL.

POST/api/v1/freee-connection/create-connect-urlconnectors:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Returns the freee authorise URL for product accounting (the default) or hr. Open it in a browser signed in to the Portal as the same user and approve on freee; the connection is made when freee returns to the Portal, and the one-time state expires after 15 minutes. Connecting does not approve the destination for employee data: that is done in the Portal. Needs Connect Freee.

スコープconnectors:write (機密性の高いスコープ)
非同期いいえ
MCP ツールcreate_freee_connection_connect_url
Portal の権限connect_freee

パラメーター​

名前場所型必須説明
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonFreeeConnectRequestInput

応答​

ステータス説明本文
200Success.application/json FreeeConnectURL または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

FreeeConnectRequestInput​

フィールド型必須説明
productstring または null任意accounting (the default) or hr: what to authorise freee for. Employee data needs hr.

FreeeConnectURL​

フィールド型必須説明
authorize_urlstring必須
expires_in_secondsinteger必須≥ -2147483648; ≤ 2147483647
next_stepstring必須