JWT retrieve alias
Step 1: Create a Private Alias
POST /organization/api/v1/alias/createhttps://link.api.datagram.network/organization/api/v1/alias/createRequest Body
Parameter
Type
Required
Description
Examp
Example Request
{
"type": "conference",
"name": "Private Alias Name",
"jwt_secret": "your-secure-secret",
"expired_at": 1737456308
}Responses
Field
Type
Description
Example
Example Response
❌ 401 Unauthorized
Field
Type
Description
Example
Field
Type
Description
Example
Step 2: Generate and Sign a JWT Token
Claim
Type
Description
Example
Token Signing (Elixir Example)
Step 3: Authenticate and Retrieve Alias
Headers
Header
Type
Required
Description
Example
Example Request
Example Response
JWT Verification and Validation
Responses
Code
Description
Example
Last updated
