curl --request POST \
--url https://app.easyfreelance.no/api/v1/verification-return-urls \
--header 'API-key: <api-key>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"partner_return_url": "<string>"
}
'import requests
url = "https://app.easyfreelance.no/api/v1/verification-return-urls"
payload = { "partner_return_url": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"API-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'API-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({partner_return_url: '<string>'})
};
fetch('https://app.easyfreelance.no/api/v1/verification-return-urls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.easyfreelance.no/api/v1/verification-return-urls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'partner_return_url' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"API-key: <api-key>",
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.easyfreelance.no/api/v1/verification-return-urls"
payload := strings.NewReader("{\n \"partner_return_url\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("API-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.easyfreelance.no/api/v1/verification-return-urls")
.header("Authorization", "Bearer <token>")
.header("API-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"partner_return_url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.easyfreelance.no/api/v1/verification-return-urls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["API-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"partner_return_url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"partner_id": 123,
"status": "<string>",
"requested_url": "<string>",
"requested_at": "2023-11-07T05:31:56Z"
}{
"message": "<string>"
}{
"message": "<string>",
"errors": {}
}Register a partner return URL for verification (pending admin approval)
Submits a request to register a URL for use as partner_return_url in verification flows. The 201 body includes requested_url (canonical string stored for this request) and status — 201 does not mean the URL is already approved; wait until status is approved before relying on it.
When starting flows, the server matches incoming partner_return_url against an approved stored requested_url using trim rules and optional dynamic path segments (see server implementation). Internally the app may store derived keys for uniqueness — those are not returned in this endpoint’s JSON.
Until approved, POST /users/{id}/verification/flows with that return URL may fail with 422.
curl --request POST \
--url https://app.easyfreelance.no/api/v1/verification-return-urls \
--header 'API-key: <api-key>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"partner_return_url": "<string>"
}
'import requests
url = "https://app.easyfreelance.no/api/v1/verification-return-urls"
payload = { "partner_return_url": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"API-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'API-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({partner_return_url: '<string>'})
};
fetch('https://app.easyfreelance.no/api/v1/verification-return-urls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.easyfreelance.no/api/v1/verification-return-urls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'partner_return_url' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"API-key: <api-key>",
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.easyfreelance.no/api/v1/verification-return-urls"
payload := strings.NewReader("{\n \"partner_return_url\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("API-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.easyfreelance.no/api/v1/verification-return-urls")
.header("Authorization", "Bearer <token>")
.header("API-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"partner_return_url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.easyfreelance.no/api/v1/verification-return-urls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["API-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"partner_return_url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"partner_id": 123,
"status": "<string>",
"requested_url": "<string>",
"requested_at": "2023-11-07T05:31:56Z"
}{
"message": "<string>"
}{
"message": "<string>",
"errors": {}
}Authorizations
Sanctum personal access token (access_tokens / partner API settings).
UUID API key stored for the partner user.
Body
2048Response
Request recorded; await approval before using this URL in POST …/verification/flows.
Response matches the partner API controller — only the fields below. Use requested_url and status to track approval; flow matching uses the approved requested_url (plus dynamic-segment rules), not any separate normalized fields in this payload.
Approval workflow state (e.g. pending admin review vs approved); exact values are implementation-defined.
Canonical URL string stored for this request; once approved, partner_return_url in POST …/verification/flows is matched against approved rows per server rules.
When this request was recorded (ISO-8601).