v1

latestOpenAPI 3.1.02026-07-241080412.6 KB

New Endpoint

This is your first endpoint! Edit this page to start documenting your API.

post/hooks/v1/auth0/actions/token

Request body

auth0Idstring required

Auth0 user identifier (typically "auth0|{sub}" format from Auth0 user object). Example: auth0|1234567890

emailstring required

User email address (must contain @). Example: user@example.com

firstNamestring required

User first name. Example: John

lastNamestring required

User last name. Example: Smith

localestring required

User locale (language_COUNTRY format). Example: en_US

countrystring required

ISO 3166-1 alpha-2 country code. Example: US

currencystring required

ISO 4217 currency code. Example: USD

userIpAddressstring required

User IP address (validated as valid IPv4 or IPv6). Example: 192.168.1.1

expiresAtinteger

Optional Unix timestamp (seconds since epoch) when the access token should expire. Must be in the future. If not provided, uses the publisher's default accessTokenExpiration configuration. Example: 1736870400

Response

Successful response