Skip to Content
ZITADEL Docs
APIsCore ResourcesV2Action

Get Target

Returns the target identified by the requested ID.

Required permission:

  • action.target.read
GET
/v2/actions/targets/{id}

Path Parameters

id*id

The unique identifier of the target to retrieve.

Response Body

Success

application/json
  1. response
target?||
Example Request
curl -X GET 'https://example.com/v2/actions/targets/string'
Example Response200
{  "target": {    "id": "string",    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "name": "string",    "timeout": "string",    "endpoint": "string",    "signingKey": "string",    "payloadType": "PAYLOAD_TYPE_UNSPECIFIED",    "restAsync": {}  }}

Was this page helpful?