Skip to main content
GET
/
v2
/
environments
/
{environmentId}
/
tags
PHP
declare(strict_types=1);

require 'vendor/autoload.php';

use novu;

$sdk = novu\Novu::builder()
    ->setSecurity(
        'YOUR_SECRET_KEY_HERE'
    )
    ->build();



$response = $sdk->environments->getTags(
    environmentId: '6615943e7ace93b0540ae377'
);

if ($response->getEnvironmentTagsDtos !== null) {
    // handle response
}
[
  {
    "name": "<string>"
  }
]

Authorizations

Authorization
string
header
required

API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Headers

idempotency-key
string

A header for idempotency purposes

Path Parameters

environmentId
string
required

Environment internal ID (MongoDB ObjectId) or identifier

Response

OK

name
string
required