File size: 96,831 Bytes
25f22bf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
========================
CODE SNIPPETS
========================
TITLE: API Documentation for Creating Dark Posts
DESCRIPTION: This section describes the parameters and concepts for creating 'dark posts' on LinkedIn, which are used for ad campaigns and do not appear as organic content. Key parameters include setting `author` as an organization, `visibility` as `PUBLIC`, `feedDistribution` as `NONE`, and providing `adContext` details. Dark posts can be created as inline posts for ad campaigns.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/posts-api

LANGUAGE: APIDOC
CODE:
```
Dark Post Creation:
  Endpoint: POST https://api.linkedin.com/rest/posts
  Purpose: Create content that does not appear as organic content on a LinkedIn company page, primarily for Ad Campaigns (DSC).
  Required Parameters:
    author: urn:li:organization:{id} (organization URN)
    visibility: PUBLIC
    feedDistribution: NONE
    adContext: (details of the ad context type)
  Lifecycle State: PUBLISHED (for viewing via URL)
  View URL Structure: https://www.linkedin.com/feed/update/urn:li:ugcPost:<id>/
```

----------------------------------------

TITLE: Create LinkedIn Post with Organization Mention
DESCRIPTION: Demonstrates how to create a LinkedIn post that includes a mention of an organization. This example tags 'Devtestco' using its URN, showing the HTTP POST request, the JSON payload, and the corresponding curl command.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/posts-api

LANGUAGE: HTTP
CODE:
```
POST https://api.linkedin.com/rest/posts
```

LANGUAGE: JSON
CODE:
```
{
  "author": "urn:li:organization:123456789",
  "commentary": "Hello @[Devtestco](urn:li:organization:2414183)",
  "visibility": "PUBLIC",
  "distribution": {
      "feedDistribution": "MAIN_FEED",
      "targetEntities": [],
      "thirdPartyDistributionChannels": []
  },
  "lifecycleState": "PUBLISHED",
  "isReshareDisabledByAuthor": false
}
```

LANGUAGE: curl
CODE:
```
curl -X POST 'https://api.linkedin.com/rest/posts' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'X-Restli-Protocol-Version: 2.0.0' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'Content-Type: application/json' \
--data '{
  "author": "urn:li:organization:123456789",
  "commentary": "Hello @[Devtestco](urn:li:organization:2414183)",
  "visibility": "PUBLIC",
  "distribution": {
    "feedDistribution": "MAIN_FEED",
    "targetEntities": [],
    "thirdPartyDistributionChannels": []
    },
  "lifecycleState": "PUBLISHED",
  "isReshareDisabledByAuthor": false
}'
```

----------------------------------------

TITLE: Create a New LinkedIn Post
DESCRIPTION: This snippet demonstrates how to create a new post on the LinkedIn platform using the REST API. It includes the HTTP POST request, the JSON body representing the post content, and a complete cURL command with necessary headers and data.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/event-management/events

LANGUAGE: http
CODE:
```
POST https://api.linkedin.com/rest/posts?actor=urn%3Ali%3Amember%3A253823536
```

LANGUAGE: json
CODE:
```
{
    "author": {
        "company": "urn:li:company:7185861"
    },
    "postContent": {
        "commentary": {
            "attributes": [],
            "text": ""
        },
        "content": {
            "content": {
                "value": {
                    "com.linkedin.content.ReferenceContent": {
                        "content": "urn:li:liveVideo:7249811612692275200"
                    }
                }
            }
        }
    },
    "lifecycleState": {
        "com.linkedin.ugc.PublishedState": {

        }
    },
    "visibility": "PUBLIC",
    "origin": "FEED",
    "context": {
        "paidEndorsementContext": {
            "active": false
        }
    },
    "distribution": {
        "feedDistribution": "MAIN_FEED",
        "externalDistributionChannels": []
    }
}
```

LANGUAGE: curl
CODE:
```
curl --location 'https://api.linkedin.com/rest/posts?actor=urn%3Ali%3Amember%3A253823536' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-RestLi-Method: create' \
--header 'X-RestLi-Protocol-Version: 2.0.0' \
--header 'X-LI-R2-W-MsgType: REST' \
--header 'Authorization: Bearer <redacted>' \
--header 'LinkedIn-Version: {version number in the format YYYYMM}' \
--data '{
    "author": {
        "company": "urn:li:company:7185861"
    },
    "postContent": {
        "commentary": {
            "attributes": [],
            "text": ""
        },
        "content": {
            "content": {
                "value": {
                    "com.linkedin.content.ReferenceContent": {
                        "content": "urn:li:liveVideo:7249811612692275200"
                    }
                }
            }
        }
    },
    "lifecycleState": {
        "com.linkedin.ugc.PublishedState": {

        }
    },
    "visibility": "PUBLIC",
    "origin": "FEED",
    "context": {
        "paidEndorsementContext": {
            "active": false
        }
    },
    "distribution": {
        "feedDistribution": "MAIN_FEED",
        "externalDistributionChannels": []
    }
}'
```

----------------------------------------

TITLE: Create Single Media Post (Video) via LinkedIn API
DESCRIPTION: Illustrates how to create a post containing a single video asset on LinkedIn. Prior to creating the post, the video asset must be uploaded to obtain its URN (e.g., urn:li:video:{id}). The content.media field is used to specify the video asset's ID and title. Similar patterns apply for image and document posts. A successful response returns a 201 status and the Post ID.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/posts-api

LANGUAGE: HTTP
CODE:
```
POST https://api.linkedin.com/rest/posts
```

LANGUAGE: JSON
CODE:
```
{
  "author": "urn:li:organization:5515715",
  "commentary": "Sample video Post",
  "visibility": "PUBLIC",
  "distribution": {
    "feedDistribution": "MAIN_FEED",
    "targetEntities": [],
    "thirdPartyDistributionChannels": []
  },
  "content": {
    "media": {
      "title":"title of the video",
      "id": "urn:li:video:C5F10AQGKQg_6y2a4sQ"
    }
  },
  "lifecycleState": "PUBLISHED",
  "isReshareDisabledByAuthor": false
}
```

LANGUAGE: cURL
CODE:
```
curl -X POST 'https://api.linkedin.com/rest/posts' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'X-Restli-Protocol-Version: 2.0.0' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'Content-Type: application/json' \
--data '{ \
    "author": "urn:li:organization:5515715", \
    "commentary": "Sample video Post", \
    "visibility": "PUBLIC", \
    "lifecycleState": "PUBLISHED", \
    "distribution": { \
        "feedDistribution": "MAIN_FEED", \
        "targetEntities": [], \
        "thirdPartyDistributionChannels": [] \
    }, \
    "content": { \
        "media": { \
            "title":"title of the video", \
            "id": "urn:li:video:C5F10AQGKQg_6y2a4sQ" \
        } \
    }, \
    "isReshareDisabledByAuthor": false \
}'
```

----------------------------------------

TITLE: Create LinkedIn Post with Hashtag
DESCRIPTION: Demonstrates how to create a LinkedIn post that includes a hashtag. This example uses '#coding', showing the HTTP POST request, the JSON payload, and the corresponding curl command.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/posts-api

LANGUAGE: HTTP
CODE:
```
POST https://api.linkedin.com/rest/posts
```

LANGUAGE: JSON
CODE:
```
{
   "author": "urn:li:organization:123456789",
   "commentary": "Follow best practices #coding",
   "visibility": "PUBLIC",
   "distribution": {
       "feedDistribution": "MAIN_FEED",
       "targetEntities": [],
       "thirdPartyDistributionChannels": []
   },
   "lifecycleState": "PUBLISHED",
   "isReshareDisabledByAuthor": false
}
```

LANGUAGE: curl
CODE:
```
curl -X POST 'https://api.linkedin.com/rest/posts' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'X-Restli-Protocol-Version: 2.0.0' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'Content-Type: application/json' \
--data '{
  "author": "urn:li:organization:123456789",
  "commentary": "Follow best practices #coding",
  "visibility": "PUBLIC",
  "distribution": {
    "feedDistribution": "MAIN_FEED",
    "targetEntities": [],
    "thirdPartyDistributionChannels": []
    },
  "lifecycleState": "PUBLISHED",
  "isReshareDisabledByAuthor": false
}'
```

----------------------------------------

TITLE: Create Article Post using LinkedIn Posts API
DESCRIPTION: This snippet demonstrates how to create an article post on LinkedIn using the Posts API. It requires an organization URN for the author, a commentary, visibility settings, and detailed article content including source URL, thumbnail image URN (from Images API), title, and description. The request must include 'Content-Type: application/json'.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/posts-api

LANGUAGE: HTTP
CODE:
```
POST https://api.linkedin.com/rest/posts
```

LANGUAGE: JSON
CODE:
```
{
 "author": "urn:li:organization:5515715",
 "commentary": "test article post",
 "visibility": "PUBLIC",
 "distribution": {
   "feedDistribution": "MAIN_FEED",
   "targetEntities": [],
   "thirdPartyDistributionChannels": []
 },
 "content": {
     "article": {
         "source": "https://lnkd.in/eabXpqi",
         "thumbnail": "urn:li:image:C49klciosC89",
         "title": "prod test title two",
         "description": "test description"
     }
 },
 "lifecycleState": "PUBLISHED",
 "isReshareDisabledByAuthor": false
}
```

LANGUAGE: cURL
CODE:
```
curl -X POST 'https://api.linkedin.com/rest/posts' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'X-Restli-Protocol-Version: 2.0.0' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'Content-Type: application/json' \
--data '{
 "author": "urn:li:organization:5515715",
 "commentary": "test article post",
 "visibility": "PUBLIC",
 "distribution": {
   "feedDistribution": "MAIN_FEED",
   "targetEntities": [],
   "thirdPartyDistributionChannels": []
 },
 "content": {
     "article": {
         "source": "https://lnkd.in/eabXpqi",
         "thumbnail": "urn:li:image:C49klciosC89",
         "title": "prod test title two",
         "description": "test description"
     }
 },
 "lifecycleState": "PUBLISHED",
 "isReshareDisabledByAuthor": false
}'
```

----------------------------------------

TITLE: Create Text-Only Post via LinkedIn API
DESCRIPTION: Demonstrates how to create a simple text-only post on LinkedIn using the POST /rest/posts endpoint. The request requires Content-Type: application/json and includes the author URN, commentary, visibility, and distribution settings. A successful response returns a 201 status and the Post ID in the x-restli-id header.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/posts-api

LANGUAGE: HTTP
CODE:
```
POST https://api.linkedin.com/rest/posts
```

LANGUAGE: JSON
CODE:
```
{
  "author": "urn:li:organization:5515715",
  "commentary": "Sample text Post",
  "visibility": "PUBLIC",
  "distribution": {
    "feedDistribution": "MAIN_FEED",
    "targetEntities": [],
    "thirdPartyDistributionChannels": []
  },
  "lifecycleState": "PUBLISHED",
  "isReshareDisabledByAuthor": false
}
```

LANGUAGE: cURL
CODE:
```
curl -X POST 'https://api.linkedin.com/rest/posts' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'X-Restli-Protocol-Version: 2.0.0' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'Content-Type: application/json' \
--data '{ \
  "author": "urn:li:organization:5515715", \
  "commentary": "Sample text Post", \
  "visibility": "PUBLIC", \
  "distribution": { \
    "feedDistribution": "MAIN_FEED", \
    "targetEntities": [], \
    "thirdPartyDistributionChannels": [] \
  }, \
  "lifecycleState": "PUBLISHED", \
  "isReshareDisabledByAuthor": false \
}'
```

----------------------------------------

TITLE: Create Carousel Post (LinkedIn Posts API)
DESCRIPTION: Demonstrates how to create a new post with carousel content using the LinkedIn Posts API. The request body includes author, ad context, commentary, visibility, distribution settings, lifecycle state, and content details with an array of media cards. A successful response returns a '201 Created' HTTP status code and the post ID in the 'x-linkedin-id' response header.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/ads/advertising-targeting/version/carousel-ads-integrations

LANGUAGE: http
CODE:
```
POST https://api.linkedin.com/rest/posts
```

LANGUAGE: json
CODE:
```
{
 "author": "urn:li:organization:2414183",
   "adContext": {
       "dscAdAccount": "urn:li:sponsoredAccount:508915158",
       "dscStatus": "ACTIVE"
   },
 "commentary": "sample commentary",
 "visibility": "PUBLIC",
 "distribution": {
   "feedDistribution": "NONE",
   "targetEntities": [],
   "thirdPartyDistributionChannels": []
 },
 "lifecycleState": "PUBLISHED",
 "isReshareDisabledByAuthor": false,
 "content": {
     "carousel": {
         "cards": [
             {"media": {
                 "id": "urn:li:image:C4E22AQGX_uq7mQBfAA",
                 "title": "first card"
             },
             "landingPage": "http://www.linkedin.com/"
             },
             {"media": {
                 "id": "urn:li:image:C4E22AQGX_uq7mQBfAA",
                 "title": "second card"
             },
             "landingPage": "http://www.linkedin.com/"
             }
         ]
     }
 },
"contentLandingPage": "http://www.linkedin.com/contentLandingPage"
}
```

LANGUAGE: curl
CODE:
```
curl --location --request POST 'https://api.linkedin.com/rest/posts' \

--header 'x-restli-protocol-version: 2.0.0' \

--header 'LinkedIn-Version: {version number in the format YYYYMM}' \

--header 'Authorization: Bearer {INSERT_TOKEN}' \
--header 'Content-Type: application/json' \
--data '{
"author": "urn:li:organization:2414183",
"adContext": {
"dscAdAccount": "urn:li:sponsoredAccount:508915158",
"dscStatus": "ACTIVE"
},
"commentary": "sample commentary",
"visibility": "PUBLIC",
"distribution": {
"feedDistribution": "NONE",
"targetEntities": [],
"thirdPartyDistributionChannels": []
},
"lifecycleState": "PUBLISHED",
"isReshareDisabledByAuthor": false,
"content": {
"carousel": {
"cards": [
{"media": {
"id": "urn:li:image:C4E22AQGX_uq7mQBfAA",
"title": "first card"
},
"landingPage": "http://www.linkedin.com/"
},
{"media": {
"id": "urn:li:image:C4E22AQGX_uq7mQBfAA",
"title": "second card"
},
"landingPage": "http://www.linkedin.com/"
}
]
}
},
"contentLandingPage": "http://www.linkedin.com/contentLandingPage"
}'
```

----------------------------------------

TITLE: Create LinkedIn Article Content via Posts API
DESCRIPTION: This snippet demonstrates how to create new article content on LinkedIn using the Posts API. It includes the HTTP POST endpoint, the JSON request body structure, and a cURL command example. Note that image thumbnails require prior upload to be included.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/ads/advertising-targeting/version/article-ads-integrations

LANGUAGE: http
CODE:
```
POST https://api.linkedin.com/rest/posts
```

LANGUAGE: json
CODE:
```
{
 "author": "urn:li:organization:5515715",
 "commentary": "test strings",
 "visibility": "PUBLIC",
 "distribution": {
   "feedDistribution": "MAIN_FEED",
   "targetEntities": [],
   "thirdPartyDistributionChannels": []
 },
 "content": {
     "article": {
         "source": "https://lnkd.in/eabXpqi",
         "thumbnail": "urn:li:image:C49klciosC89",
         "title": "prod test title two",
         "description": "test description"
     }
 },
 "lifecycleState": "PUBLISHED",
 "isReshareDisabledByAuthor": false
}
```

LANGUAGE: curl
CODE:
```
curl --location --request POST 'https://api.linkedin.com/rest/posts' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'Content-Type: application/json' \
-H 'X-Restli-Protocol-Version: 2.0.0'\
--data-raw '{
 "author": "urn:li:organization:5515715",
 "commentary": "test strings",
 "visibility": "PUBLIC",
 "distribution": {
   "feedDistribution": "MAIN_FEED",
   "targetEntities": [],
   "thirdPartyDistributionChannels": []
 },
 "content": {
     "article": {
         "source": "https://lnkd.in/eabXpqi",
         "thumbnail": "urn:li:image:C49klciosC89",
         "title": "prod test title two",
         "description": "test description"
     }
 },
 "lifecycleState": "PUBLISHED",
 "isReshareDisabledByAuthor": false
}'
```

----------------------------------------

TITLE: Create Organic Targeted Video Post on LinkedIn
DESCRIPTION: This snippet demonstrates how to create an organic video post with specific targeting (geo-target and seniority) using the LinkedIn API. It requires a 'Content-Type: application/json' header and publishes the post immediately.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/posts-api

LANGUAGE: http
CODE:
```
POST https://api.linkedin.com/rest/posts
```

LANGUAGE: json
CODE:
```
{
  "author": "urn:li:organization:5515715",
  "commentary": "Sample targeted video Post",
  "visibility": "PUBLIC",
  "distribution": {
    "feedDistribution": "MAIN_FEED",
    "targetEntities": [{
                "geoLocations": [
                    "urn:li:geo:103644278"
                ],
                "seniorities": [
                    "urn:li:seniority:3"
                ]
            }],
    "thirdPartyDistributionChannels": []
  },
  "content":{
    "media":{
      "title":"title of the video",
      "id": "urn:li:video:C5F10AQGKQg_6y2a4sQ"
      }
    },
  "lifecycleState": "PUBLISHED",
  "isReshareDisabledByAuthor": false
}
```

LANGUAGE: curl
CODE:
```
curl -X POST 'https://api.linkedin.com/rest/posts' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'X-Restli-Protocol-Version: 2.0.0' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'Content-Type: application/json' \
--data '{
  "author": "urn:li:organization:5515715",
  "commentary": "Sample targeted video Post",
  "visibility": "PUBLIC",
  "distribution": {
    "feedDistribution": "MAIN_FEED",
    "targetEntities": [{
                "geoLocations": [
                    "urn:li:geo:103644278"
                ],
                "seniorities": [
                    "urn:li:seniority:3"
                ]
            }],
    "thirdPartyDistributionChannels": []
  },
  "content":{
    "media":{
      "title":"title of the video",
      "id": "urn:li:video:C5F10AQGKQg_6y2a4sQ"
      }
    },
  "lifecycleState": "PUBLISHED",
  "isReshareDisabledByAuthor": false
}'
```

----------------------------------------

TITLE: Create Post with Mention and Hashtag using `little` Format
DESCRIPTION: Demonstrates how to create a post using the LinkedIn Posts API, including a company mention and a hashtag formatted with the `little` text format. The request uses `curl` to send a JSON payload.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/little-text-format

LANGUAGE: curl
CODE:
```
curl --location 'https://api.linkedin.com/rest/posts' \
--header 'LinkedIn-Version: 202502' \
--header 'X-Restli-Protocol-Version: 2.0.0' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data-raw '{
 "author": "urn:li:organization:2414183",
 "commentary": "This example mentions a company @[DevtestCo](urn:li:organization:2414183) and {hashtag|\\#|MyTestTag}",
 "visibility": "PUBLIC",
 "distribution": {
   "feedDistribution": "MAIN_FEED"
 },
 "lifecycleState": "PUBLISHED"
}'
```

----------------------------------------

TITLE: Simple Job Postings API Endpoint
DESCRIPTION: The API endpoint for creating new job postings via the SimpleJobPostings API.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/talent/apply-connect/sync-jobs-onsite-apply

LANGUAGE: APIDOC
CODE:
```
POST https://api.linkedin.com/v2/simpleJobPostings
```

----------------------------------------

TITLE: Create Video Post API Request
DESCRIPTION: This API request creates a new video post on LinkedIn. It includes details such as ad context, author, commentary, visibility, distribution settings, and video content. The post can be sponsored and targeted to specific demographics. A successful response returns a 201 Created HTTP status code and the ID in the 'x-linkedin-id' response header.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/ads/advertising-targeting/create-and-manage-video

LANGUAGE: HTTP
CODE:
```
POST https://api.linkedin.com/rest/posts
```

LANGUAGE: JSON
CODE:
```
{
   "adContext": {
       "dscAdAccount": "urn:li:sponsoredAccount:508915158",
       "dscStatus": "ACTIVE"
   },
  "author": "urn:li:organization:5515715",
  "commentary": "Sample Video Post",
  "visibility": "PUBLIC",
  "distribution": {
    "feedDistribution": "NONE",
    "targetEntities": [{
                "geoLocations": [
                    "urn:li:geo:103644278"
                ],
                "seniorities": [
                    "urn:li:seniority:3"
                ]
            }],
    "thirdPartyDistributionChannels": []
  },
  "content":{
    "media":{
      "title":"title of the video",
      "id": "urn:li:video:C5F10AQGKQg_6y2a4sQ"
      }
    },
  "lifecycleState": "PUBLISHED",
  "isReshareDisabledByAuthor": true
}
```

LANGUAGE: curl
CODE:
```
curl --location --request POST 'https://api.linkedin.com/rest/posts/' \
–header 'LinkedIn-Version: {version number in the format YYYYMM}' \
--header 'Authorization: Bearer {INSERT_TOKEN}' \
--header 'Content-Type: application/json' \
--data-raw '{
   "adContext": {
       "dscAdAccount": "urn:li:sponsoredAccount:508915158",
       "dscStatus": "ACTIVE"
   },
  "author": "urn:li:organization:5515715",
  "commentary": "Sample Video Post",
  "visibility": "PUBLIC",
  "distribution": {
    "feedDistribution": "NONE",
    "targetEntities": [{
                "geoLocations": [
                    "urn:li:geo:103644278"
                ],
                "seniorities": [
                    "urn:li:seniority:3"
                ]
            }],
    "thirdPartyDistributionChannels": []
  },
  "content":{
    "media":{
      "title":"title of the video",
      "id": "urn:li:video:C5F10AQGKQg_6y2a4sQ"
      }
    },
  "lifecycleState": "PUBLISHED",
  "isReshareDisabledByAuthor": true
}'
```

----------------------------------------

TITLE: Create Poll Content using LinkedIn Posts API
DESCRIPTION: Demonstrates how to create a new poll post on LinkedIn using the `/rest/posts` endpoint. Includes the HTTP method, request body structure, and a cURL example. Requires `Content-Type: application/json` header for the request.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/poll-post-api

LANGUAGE: HTTP
CODE:
```
POST https://api.linkedin.com/rest/posts
```

LANGUAGE: JSON
CODE:
```
{
 "author": "urn:li:organization:2414183",
 "commentary": "test poll",
 "visibility": "PUBLIC",
 "distribution": {
   "feedDistribution": "MAIN_FEED",
   "targetEntities": [],
   "thirdPartyDistributionChannels": []
 },
 "lifecycleState": "PUBLISHED",
 "isReshareDisabledByAuthor": false,
 "content": {
     "poll": {
       "question" :"What is your favorite color?",
       "options" : [ { "text" : "Red" }, { "text" : "Blue" }, {"text": "Yellow"}, {"text": "green"} ],
       "settings" : { "duration" : "THREE_DAYS" }
     }
 }
}
```

LANGUAGE: cURL
CODE:
```
curl --location --request POST 'https://api.linkedin.com/rest/posts' \
--header 'LinkedIn-Version: {version number in the format YYYYMM}' \
--header 'Authorization: Bearer {INSERT_TOKEN}' \
--header 'Content-Type: application/json' \
--data-raw '{
 "author": "urn:li:organization:2414183",
 "commentary": "test poll",
 "visibility": "PUBLIC",
 "distribution": {
   "feedDistribution": "MAIN_FEED",
   "targetEntities": [],
   "thirdPartyDistributionChannels": []
 },
 "lifecycleState": "PUBLISHED",
 "isReshareDisabledByAuthor": false,
 "content": {
     "poll": {
       "question" :"What is your favorite color?",
       "options" : [ { "text" : "Red" }, { "text" : "Blue" }, {"text": "Yellow"}, {"text": "green"} ],
       "settings" : { "duration" : "THREE_DAYS" }
     }
 }
}'
```

----------------------------------------

TITLE: Article Post API Workflow
DESCRIPTION: Outlines the sequential steps for using the Article Post API, from uploading optional image assets via the Images API to creating, getting, and batch getting article content.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/ads/advertising-targeting/version/article-ads-integrations

LANGUAGE: APIDOC
CODE:
```
Workflow:
  1. Upload Article image assets via Images API (Note: This step only applies for optional thumbnail content)
  2. Create Article content
  3. Get Article content
  4. Batch Get Article content
```

----------------------------------------

TITLE: Create a Dark Post for a LinkedIn Live Event
DESCRIPTION: This section outlines the process of creating a 'dark post' specifically for a LinkedIn Live event. A dark post is not distributed to the main feed. It includes the HTTP POST request endpoint, a sample JSON payload for the request body, and a cURL command demonstrating how to send the request with necessary headers and the JSON data. The payload specifies ad context, author, commentary, visibility, distribution settings (set to NONE for dark posts), and a reference to the live video URN.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/ads/advertising-targeting/version/event-ads-integrations

LANGUAGE: HTTP
CODE:
```
POST https://api.linkedin.com/rest/posts
```

LANGUAGE: JSON
CODE:
```
{
   "adContext": {
       "dscAdAccount": "urn:li:sponsoredAccount:53333333341",
       "dscStatus": "ACTIVE"
   },
  "author": "urn:li:organization:1234567",
  "commentary": "Sample Live Event Post",
  "visibility": "PUBLIC",
  "distribution": {
    "feedDistribution": "NONE",
    "targetEntities": [],
    "thirdPartyDistributionChannels": []
  },
  "content":{
    "reference":{
      "id": "urn:li:liveVideo:7240449542943305728"
      }
    },
  "lifecycleState": "PUBLISHED",
  "isReshareDisabledByAuthor": true
}
```

LANGUAGE: cURL
CODE:
```
curl --location POST 'https://api.linkedin.com/rest/posts' \
-H'X-RestLi-Protocol-Version: 2.0.0' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'Content-Type: application/json' \
--data '{
   "adContext": {
       "dscAdAccount": "urn:li:sponsoredAccount:53333333341",
       "dscStatus": "ACTIVE"
   },
  "author": "urn:li:organization:1234567",
  "commentary": "Sample Live Event Post",
  "visibility": "PUBLIC",
  "distribution": {
    "feedDistribution": "NONE",
    "targetEntities": [],
    "thirdPartyDistributionChannels": []
  },
  "content":{
    "reference":{
      "id": "urn:li:liveVideo:7240449542943305728"
      }
    },
  "lifecycleState": "PUBLISHED",
  "isReshareDisabledByAuthor": true
}'
```

----------------------------------------

TITLE: Post an Event API Reference
DESCRIPTION: This section describes the process of publishing a created event on LinkedIn using the Posts API. An event becomes publicly accessible only after successful posting.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/event-management/events

LANGUAGE: APIDOC
CODE:
```
In this step, a request is made to the [Posts API](../community-management/shares/posts-api?view=li-lms-2025-06) to publish an event on LinkedIn. An event becomes readable and writeable only after it has been successfully posted.

#### Live Video Event Example
In this example one uses the value of the property `type.online.format.liveVideo.liveVideo` in the response to the [creation of a live video event](#live-video-event-example) to post that event.
```

----------------------------------------

TITLE: HTTP POST Request for LinkedIn Posts
DESCRIPTION: Specifies the HTTP method and endpoint for creating new posts on the LinkedIn API.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/ads/advertising-targeting/version/document-ads

LANGUAGE: http
CODE:
```
POST https://api.linkedin.com/rest/posts
```

----------------------------------------

TITLE: Create UGC Post on LinkedIn API
DESCRIPTION: This snippet demonstrates how to create a new User-Generated Content (UGC) post on LinkedIn. It includes setting the content type to application/json, defining the author, lifecycle state, specific content (like media, commentary, and category), target audience, and visibility. Optionally, landingPage and title can be set for future sponsorship.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/ugc-post-api

LANGUAGE: http
CODE:
```
POST https://api.linkedin.com/v2/ugcPosts
```

LANGUAGE: json
CODE:
```
{
    "author": "urn:li:organization:5590506",
    "lifecycleState": "PUBLISHED",
    "specificContent": {
        "com.linkedin.ugc.ShareContent": {
            "media": [
                {
                    "media": "urn:li:digitalmediaAsset:C5500AQG7r2u00ByWjw",
                    "status": "READY",
                    "title": {
                        "attributes": [],
                        "text": "Sample Video Create"
                    }
                }
            ],
            "shareCommentary": {
                "attributes": [],
                "text": "Some share text"
            },
            "shareMediaCategory": "VIDEO"
        }
    },
    "targetAudience": {
        "targetedEntities": [
            {
                "geoLocations": [
                    "urn:li:geo:103644278"
                ],
                "seniorities": [
                    "urn:li:seniority:3"
                ]
            }
        ]
    },
    "visibility": {
        "com.linkedin.ugc.MemberNetworkVisibility": "PUBLIC"
    }
}
```

LANGUAGE: curl
CODE:
```
curl -X POST 'https://api.linkedin.com/v2/ugcPosts' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'X-Restli-Protocol-Version: 2.0.0' \
-H 'Content-Type: application/json' \
--data '{
    "author": "urn:li:organization:5590506",
    "lifecycleState": "PUBLISHED",
    "specificContent": {
        "com.linkedin.ugc.ShareContent": {
            "media": [
                {
                    "media": "urn:li:digitalmediaAsset:C5500AQG7r2u00ByWjw",
                    "status": "READY",
                    "title": {
                        "attributes": [],
                        "text": "Sample Video Create"
                    }
                }
            ],
            "shareCommentary": {
                "attributes": [],
                "text": "Some share text"
            },
            "shareMediaCategory": "VIDEO"
        }
    },
    "targetAudience": {
        "targetedEntities": [
            {
                "geoLocations": [
                    "urn:li:geo:103644278"
                ],
                "seniorities": [
                    "urn:li:seniority:3"
                ]
            }
        ]
    },
    "visibility": {
        "com.linkedin.ugc.MemberNetworkVisibility": "PUBLIC"
    }
}'
```

----------------------------------------

TITLE: Create LinkedIn Image Post via API
DESCRIPTION: This snippet demonstrates how to create a new image post on LinkedIn using the REST API. It requires an existing image URN and involves sending a POST request to the `/rest/posts` endpoint with a JSON payload specifying ad context, author, commentary, visibility, distribution, and content details. Ensure the `Content-Type: application/json` header is included.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/ads/advertising-targeting/version/image-ads-integrations

LANGUAGE: HTTP
CODE:
```
POST https://api.linkedin.com/rest/posts
```

LANGUAGE: JSON
CODE:
```
{
   "adContext": {
       "dscAdAccount": "urn:li:sponsoredAccount:508915158",
       "dscStatus": "ACTIVE"
   },
  "author": "urn:li:organization:5515715",
  "commentary": "Sample Image Post",
  "visibility": "PUBLIC",
  "distribution": {
    "feedDistribution": "NONE",
    "thirdPartyDistributionChannels": []
  },
  "content":{
    "media":{
      "title":"title of the image",
      "id": "urn:li:image:C5F10AQGKQg_6y2a4sQ"
      }
    },
  "lifecycleState": "PUBLISHED",
  "isReshareDisabledByAuthor": true
}
```

LANGUAGE: curl
CODE:
```
curl --location --request POST 'https://api.linkedin.com/rest/posts/' \
–H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'Content-Type: application/json' \
-H 'X-Restli-Protocol-Version: 2.0.0'\
--data-raw '{
   "adContext": {
       "dscAdAccount": "urn:li:sponsoredAccount:508915158",
       "dscStatus": "ACTIVE"
   },
  "author": "urn:li:organization:5515715",
  "commentary": "Sample Image Post",
  "visibility": "PUBLIC",
  "distribution": {
    "feedDistribution": "NONE",
    "targetEntities": [{
                "geoLocations": [
                    "urn:li:geo:103644278"
                ],
                "seniorities": [
                    "urn:li:seniority:3"
                ]
            }],
    "thirdPartyDistributionChannels": []
  },
  "content":{
    "media":{
      "title":"title of the image",
      "id": "urn:li:image:C5F10AQGKQg_6y2a4sQ"
      }
    },
  "lifecycleState": "PUBLISHED",
  "isReshareDisabledByAuthor": true
}'
```

----------------------------------------

TITLE: Create New LinkedIn Post with Document Content
DESCRIPTION: Provides the API endpoint and request body structure for creating a new post that includes document content. The example demonstrates how to specify the author, commentary, visibility, distribution, and link to an existing document ID. A cURL command is also provided for direct execution.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/documents-api

LANGUAGE: HTTP
CODE:
```
POST https://api.linkedin.com/rest/posts
```

LANGUAGE: JSON
CODE:
```
{
    "author": "urn:li:organization:1234567",
    "commentary": "test strings!",
    "visibility": "PUBLIC",
    "distribution": {
        "feedDistribution": "MAIN_FEED",
        "targetEntities": [],
        "thirdPartyDistributionChannels": []
    },
    "content": {
        "media": {
            "title":"Example.pdf",
            "id": "urn:li:document:D5510AQFx87994pYx0Q"
        }
    },
    "lifecycleState": "PUBLISHED",
    "isReshareDisabledByAuthor": false
}
```

LANGUAGE: cURL
CODE:
```
curl --location --request POST 'https://api.linkedin.com/rest/posts' \
--header 'LinkedIn-Version: {version number in the format YYYYMM}' \
--header 'Authorization: Bearer {INSERT_TOKEN}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "author": "urn:li:organization:1234567",
    "commentary": "test strings!",
    "visibility": "PUBLIC",
    "distribution": {
        "feedDistribution": "MAIN_FEED",
        "targetEntities": [],
        "thirdPartyDistributionChannels": []
    },
    "content": {
        "media": {
            "title":"Example.pdf",
            "id": "urn:li:document:D5510AQFx87994pYx0Q"
        }
    },
    "lifecycleState": "PUBLISHED",
    "isReshareDisabledByAuthor": false
}'
```

----------------------------------------

TITLE: Create MultiImage Post on LinkedIn API
DESCRIPTION: This snippet demonstrates how to create a new post with multiple images on LinkedIn using a POST request. It includes the HTTP request line, the JSON payload structure, and the equivalent cURL command. The 'Content-Type: application/json' header is required for the request body.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/multiimage-post-api

LANGUAGE: http
CODE:
```
POST https://api.linkedin.com/rest/posts
```

LANGUAGE: json
CODE:
```
{
    "author": "urn:li:organization:2414183",
    "commentary": "test multiimage post",
    "visibility": "PUBLIC",
    "distribution": {
        "feedDistribution": "MAIN_FEED",
        "targetEntities": [],
        "thirdPartyDistributionChannels": []
    },
    "lifecycleState": "PUBLISHED",
    "isReshareDisabledByAuthor": false,
    "content": {
        "multiImage": {
            "images": [
                {
                    "id": "urn:li:image:C4D22AQFttWMAaIqHaa",
                    "altText": "testing for alt tags1"
                },
                {
                    "id": "urn:li:image:C4D22AQG7uz0yPJh588",
                    "altText": "testing for alt tags2"
                }
            ]
        }
    }
}
```

LANGUAGE: curl
CODE:
```
curl --location --request POST 'https://api.linkedin.com/rest/posts'
--header 'LinkedIn-Version: {version number in the format YYYYMM}'
--header 'Authorization: Bearer {INSERT_TOKEN}'
--header 'Content-Type: application/json'
--data-raw '{
    "author": "urn:li:organization:2414183",
    "commentary": "test multiimage post",
    "visibility": "PUBLIC",
    "distribution": {
        "feedDistribution": "MAIN_FEED",
        "targetEntities": [],
        "thirdPartyDistributionChannels": []
    },
    "lifecycleState": "PUBLISHED",
    "isReshareDisabledByAuthor": false,
    "content": {
        "multiImage": {
            "images": [
                {
                    "id": "urn:li:image:C4D22AQFttWMAaIqHaa",
                    "altText": "testing for alt tags1"
                },
                {
                    "id": "urn:li:image:C4D22AQG7uz0yPJh588",
                    "altText": "testing for alt tags2"
                }
            ]
        }
    }
}'
```

----------------------------------------

TITLE: Workflow to Create an Event Ad with a New Post
DESCRIPTION: Outlines the sequential steps required to create an Event Ad, starting from campaign creation to the final creative setup using a dark post.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/ads/advertising-targeting/version/event-ads-integrations

LANGUAGE: APIDOC
CODE:
```
Workflow:
  1. Create a Campaign for Event Ad.
  2. Create the Post for the Event (This should be a dark post).
  3. Create an Event Creative with the Event dark post.
```

----------------------------------------

TITLE: Create LinkedIn UGC Post with Video Content
DESCRIPTION: This snippet demonstrates how to create a User Generated Content (UGC) post on LinkedIn, specifically for sharing video content. It includes the API endpoint, the required JSON payload structure for video shares, and a complete cURL command for execution. Ensure the `Content-Type` header is set to `application/json` and replace `{INSERT_TOKEN}` with a valid bearer token.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/ugc-post-api

LANGUAGE: HTTP
CODE:
```
POST https://api.linkedin.com/v2/ugcPosts
```

LANGUAGE: JSON
CODE:
```
{
    "author": "urn:li:organization:5590506",
    "lifecycleState": "PUBLISHED",
    "specificContent": {
        "com.linkedin.ugc.ShareContent": {
            "media": [
                {
                    "landingPage": {
                        "landingPageTitle": "LEARN_MORE",
                        "landingPageUrl": "https:linkedin.com"
                    },
                    "media": "urn:li:digitalmediaAsset:C5500AQG7r2u00ByWjw",
                    "status": "READY",
                    "title": {
                        "attributes": [],
                        "text": "Sample Video Create"
                    }
                }
            ],
            "shareCommentary": {
                "attributes": [],
                "text": "Some share text"
            },
            "shareMediaCategory": "VIDEO"
        }
    },
    "visibility": {
        "com.linkedin.ugc.SponsoredContentVisibility": "DARK"
    }
}
```

LANGUAGE: curl
CODE:
```
curl -X POST 'https://api.linkedin.com/v2/ugcPosts' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'X-Restli-Protocol-Version: 2.0.0' \
-H 'Content-Type: application/json' \
--data '{
    "author": "urn:li:organization:5590506",
    "lifecycleState": "PUBLISHED",
    "specificContent": {
        "com.linkedin.ugc.ShareContent": {
            "media": [
                {
                    "landingPage": {
                        "landingPageTitle": "LEARN_MORE",
                        "landingPageUrl": "https:linkedin.com"
                    },
                    "media": "urn:li:digitalmediaAsset:C5500AQG7r2u00ByWjw",
                    "status": "READY",
                    "title": {
                        "attributes": [],
                        "text": "Sample Video Create"
                    }
                }
            ],
            "shareCommentary": {
                "attributes": [],
                "text": "Some share text"
            },
            "shareMediaCategory": "VIDEO"
        }
    },
    "visibility": {
        "com.linkedin.ugc.SponsoredContentVisibility": "DARK"
    }
}'
```

----------------------------------------

TITLE: Sample JSON Request Body for Basic Job Posting (Integration Context)
DESCRIPTION: Provides a JSON payload example for creating multiple basic job postings, using `integrationContext` to specify the organization. It includes fields like `companyApplyUrl`, `description`, `employmentStatus`, `externalJobPostingId`, `listedAt`, `jobPostingOperationType`, `title`, `location`, and `workplaceTypes`.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/talent/job-postings/api/create-jobs

LANGUAGE: JSON
CODE:
```
{
 "elements": [{
   "integrationContext": "urn:li:organization:2414183",
   "companyApplyUrl": "http://linkedin.com",
   "description": "We are looking for a passionate Software Engineer to design, develop and install software solutions. Software Engineer responsibilities include gathering user requirements, defining system functionality and writing code in various languages. Our ideal candidates are familiar with the software development life cycle (SDLC) from preliminary system analysis to tests and deployment.",
   "employmentStatus": "PART_TIME",
   "externalJobPostingId": "1234",
   "listedAt": 1440716666,
   "jobPostingOperationType": "CREATE",
   "title": "Software Engineer",
   "location": "India",
   "workplaceTypes": [
    "remote"
   ]
  },
  {
   "integrationContext": "urn:li:organization:2414183",
   "companyApplyUrl": "http://linkedin.com",
   "description": "We are looking for a passionate Software Engineer to design, develop and install software solutions. Software Engineer responsibilities include gathering user requirements, defining system functionality and writing code in various languages. Our ideal candidates are familiar with the software development life cycle (SDLC) from preliminary system analysis to tests and deployment.",
   "employmentStatus": "PART_TIME",
   "externalJobPostingId": "1234",
   "listedAt": 1440716666,
   "jobPostingOperationType": "CREATE",
   "title": "Software Engineer",
   "location": "San Francisco, CA",
   "workplaceTypes": [
    "hybrid"
   ]
  },
  {
   "integrationContext": "urn:li:organization:2414183",
   "companyApplyUrl": "http://linkedin.com",
   "description": "We are looking for a passionate Senior Software Engineer to design, develop and install software solutions. Software Engineer responsibilities include gathering user requirements, defining system functionality and writing code in various languages. Our ideal candidates are familiar with the software development life cycle (SDLC) from preliminary system analysis to tests and deployment.",
   "employmentStatus": "PART_TIME",
   "externalJobPostingId": "789",
   "listedAt": 1440716666,
   "jobPostingOperationType": "CREATE",
   "title": "Senior Software Engineer",
   "location": "San Francisco, CA"
  }
 ]
}
```

----------------------------------------

TITLE: UGC Post Creation Validation Rules
DESCRIPTION: This section outlines critical validation rules for successfully creating UGC posts. Adhering to these rules, such as matching owner and author fields, ensuring media category consistency, and verifying user roles, is essential to prevent API failures and ensure proper post visibility.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/ugc-post-api

LANGUAGE: APIDOC
CODE:
```
To prevent failures, make sure to verify the following:
- The `registerUploadRequest.owner` field of the referenced asset is the same as the `author` field when you create the UGC Post.
- `ShareContent.shareMediaCategory` matches the same category as the media URN.
- `visibility` can be set as `SponsoredContentVisibility` only when `author` is an `organization` URN.
- `shareContent.ShareMedia.landingPage.landingPageUrl` is a required field for Video Dark Posts.
- The member must have the role of Company Page `ADMINISTRATOR` or `DIRECT_SPONSORED_CONTENT_POSTER`.
```

----------------------------------------

TITLE: Create DMP Segment Destination (POST)
DESCRIPTION: Demonstrates how to create a new destination for an existing DMP segment using a POST request. A successful response returns a 201 Created HTTP status code and the type of destination created in the 'x-linkedin-id' header.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/matched-audiences/create-and-manage-segment-destinations

LANGUAGE: http
CODE:
```
POST https://api.linkedin.com/rest/dmpSegments/11134/destinations

{
    "destination": "LINKEDIN"
}
```

LANGUAGE: curl
CODE:
```
curl -X POST 'https://api.linkedin.com/rest/dmpSegments/11134/destinations' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'Content-Type: application/json' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'X-Restli-Protocol-Version: 2.0.0'\
--data '{
    "destination": "LINKEDIN"
}'
```

----------------------------------------

TITLE: Sample JSON Request Body for Creating a Job Posting
DESCRIPTION: This JSON structure represents a sample request body used to create or update a job posting through the LinkedIn API. Key fields include `externalJobPostingId` for unique identification, `title` and `description` for job details, `contract` and `integrationContext` (or `company`) for organizational context, and `companyApplyUrl` for the application link. The `jobPostingOperationType` specifies the action (e.g., CREATE). Note that duplicate updates to the same `externalJobPostingId` should be avoided, and providing contract information is mandatory for internal job postings.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/talent/job-postings/api/create-jobs

LANGUAGE: json
CODE:
```
{
   "elements":[
      {
         "externalJobPostingId":"PremiumJobPostingG1TC1",
         "listingType":"BASIC",
         "title":"Job Posting G1 TC1",
         "description":"<b>Objective of the Position</b><br/> <ul> <li>To develop digital content plan, manage and monitor different content executions for social and online platforms to maximize the communication effectiveness and impact</li> <li>To manage, monitor and keep optimizing the performance of social platforms of MB and AMG</li> <li>To monitor and manage internet word of mouth to keep the health of brand and product image</li></ul>",
         "contract":"urn:li:contract:{your_contract_id}",
         "integrationContext":"urn:li:organization:{your_organization_id}",
         "companyApplyUrl": "http://linkedin.com/jobpostingG1TC1",
         "location":"San Francisco, CA",
         "listedAt":1513756352000,
         "jobPostingOperationType":"CREATE",
         "availability": "INTERNAL"
      }
   ]
}
```

----------------------------------------

TITLE: Creating Video Posts via UGC API
DESCRIPTION: The UGC API now supports creating video posts on behalf of a member, which will be posted on their member profile. Authors must reference a member URN, not an organization URN, for this functionality.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/archived-recent-changes/2021/marketing-api-changes

LANGUAGE: APIDOC
CODE:
```
API: UGC API
  Functionality: Create video posts on member feeds.
  Constraint: Author must reference a member URN, not an organization URN.
```

----------------------------------------

TITLE: Article Post API Content Schema
DESCRIPTION: Defines the data structure for creating and managing article content, specifying fields such as `description`, `source`, `thumbnail`, `thumbnailAltText`, and `title`, along with their types, details, and requirement status.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/ads/advertising-targeting/version/article-ads-integrations

LANGUAGE: APIDOC
CODE:
```
Schema:
  description:
    Type: string
    Details: Custom or saved description of the article. If empty, there is none. The length must be less than 4086 characters.
    Required: optional
  source:
    Type: URL
    Details: A URL of the article. Typically the URL that was ingested to maintain URL parameters. Please note that this field maps to "Destination URL" field in Campaign Manager UI.
    Required: required
  thumbnail:
    Type: ImageUrn
    Details: Custom or saved thumbnail for the article. If empty, there is none. To retrieve the download URL, an additional request must be made to the Images API using this URN.
    Required: optional
  thumbnailAltText:
    Type: string
    Details: Alt text for the custom thumbnail. If empty, there is none. The length must be less than 4086 characters.
    Required: optional
  title:
    Type: string
    Details: Custom or saved title of the article. The length must be less than 400 characters.
    Required: required
```

----------------------------------------

TITLE: Create Targeted UGC Post
DESCRIPTION: This snippet demonstrates how to create a User Generated Content (UGC) post on LinkedIn via a POST request to `https://api.linkedin.com/v2/ugcPosts`. It includes examples for specifying content (e.g., video, commentary), setting public visibility, and targeting a specific audience by geo-locations, seniorities, and industries. It also implicitly highlights invalid `targetAudience` configurations by showing a valid example.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/ugc-post-api

LANGUAGE: APIDOC
CODE:
```
POST https://api.linkedin.com/v2/ugcPosts
```

LANGUAGE: JSON
CODE:
```
{
    "author": "urn:li:organization:2414183",
    "lifecycleState": "PUBLISHED",
    "specificContent": {
        "com.linkedin.ugc.ShareContent": {
            "media": [
                {
                    "media": "urn:li:digitalmediaAsset:C5500AQG7r2u00ByWjw",
                    "status": "READY",
                    "title": {
                        "attributes": [],
                        "text": "Sample Video Create"
                    }
                }
            ],
            "shareCommentary": {
                "attributes": [],
                "text": "Some share text"
            },
            "shareMediaCategory": "VIDEO"
        }
    },
    "targetAudience": {
        "targetedEntities": [
            {
                "geoLocations": [
                    "urn:li:geo:103644278"
                ],
                "seniorities": [
                    "urn:li:seniority:3"
                ],
                "industries": [
                    "urn:li:industry:4"
                ]
            }
        ]
    },
    "visibility": {
        "com.linkedin.ugc.MemberNetworkVisibility": "PUBLIC"
    }
}
```

LANGUAGE: curl
CODE:
```
curl -X POST 'https://api.linkedin.com/v2/ugcPosts' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'X-Restli-Protocol-Version: 2.0.0' \
-H 'Content-Type: application/json' \
--data '{
    "author": "urn:li:organization:2414183",
    "lifecycleState": "PUBLISHED",
    "specificContent": {
        "com.linkedin.ugc.ShareContent": {
            "media": [
                {
                    "media": "urn:li:digitalmediaAsset:C5500AQG7r2u00ByWjw",
                    "status": "READY",
                    "title": {
                        "attributes": [],
                        "text": "Sample Video Create"
                    }
                }
            ],
            "shareCommentary": {
                "attributes": [],
                "text": "Some share text"
            },
            "shareMediaCategory": "VIDEO"
        }
    },
    "targetAudience": {
        "targetedEntities": [
            {
                "geoLocations": [
                    "urn:li:geo:103644278"
                ],
                "seniorities": [
                    "urn:li:seniority:3"
                ],
                "industries": [
                    "urn:li:industry:4"
                ]
            }
        ]
    },
    "visibility": {
        "com.linkedin.ugc.MemberNetworkVisibility": "PUBLIC"
    }
}'
```

----------------------------------------

TITLE: Create Event Ad Creative via LinkedIn API
DESCRIPTION: This snippet demonstrates how to create a new event ad creative by linking a dark post and a campaign. It requires the ad account ID, a reference to an existing UGC post (dark post), and the campaign URN. A successful request returns a 201 Created status and the creative ID in the 'x-linkedin-id' header.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/ads/advertising-targeting/version/event-ads-integrations

LANGUAGE: http
CODE:
```
POST https://api.linkedin.com/rest/adAccounts/{adAccountId}/creatives
```

LANGUAGE: json
CODE:
```
{
  "content": {
    //Post urn - response from the dark post creation API (Step #5.g)
    "reference": "urn:li:ugcPost:7240552321461111111"
  },
  //Campaign urn - response from the campaign API (Step #4.a)
  "campaign": "urn:li:sponsoredCampaign:330682563",
  "intendedStatus": "ACTIVE"
}
```

LANGUAGE: curl
CODE:
```
curl --location POST -v 'https://api.linkedin.com/rest/adAccounts/{adAccountId}/creatives' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'Content-Type: application/json' \
-H 'X-Restli-Protocol-Version: 2.0.0'
--data '{
  "content": {
    //Post urn - response from the dark post creation API (Step #5.g)
    "reference": "urn:li:ugcPost:7240552321461111111"
  },
  //Campaign urn - response from the campaign API (Step #4.a)
  "campaign": "urn:li:sponsoredCampaign:330682563",
  "intendedStatus": "ACTIVE"
}'
```

----------------------------------------

TITLE: Sample JSON Request Body for Basic Job Posting (Company ID)
DESCRIPTION: Presents an alternative JSON payload for creating multiple basic job postings, using `company` to specify the organization. It includes similar fields as the previous example, demonstrating flexibility in identifying the associated company.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/talent/job-postings/api/create-jobs

LANGUAGE: JSON
CODE:
```
{
 "elements": [{
  "company": "urn:li:company:{company_id}",
   "companyApplyUrl": "http://linkedin.com",
   "description": "We are looking for a passionate Software Engineer to design, develop and install software solutions. Software Engineer responsibilities include gathering user requirements, defining system functionality and writing code in various languages. Our ideal candidates are familiar with the software development life cycle (SDLC) from preliminary system analysis to tests and deployment.",
   "employmentStatus": "PART_TIME",
   "externalJobPostingId": "1234",
   "listedAt": 1440716666,
   "jobPostingOperationType": "CREATE",
   "title": "Software Engineer",
   "location": "India",
   "workplaceTypes": [
    "remote"
   ]
  },
  {
   "company": "urn:li:company:{company_id}",
   "companyApplyUrl": "http://linkedin.com",
   "description": "We are looking for a passionate Software Engineer to design, develop and install software solutions. Software Engineer responsibilities include gathering user requirements, defining system functionality and writing code in various languages. Our ideal candidates are familiar with the software development life cycle (SDLC) from preliminary system analysis to tests and deployment.",
   "employmentStatus": "PART_TIME",
   "externalJobPostingId": "1234",
   "listedAt": 1440716666,
   "jobPostingOperationType": "CREATE",
   "title": "Software Engineer",
   "location": "San Francisco, CA",
   "workplaceTypes": [
    "hybrid"
   ]
  },
  {
   "company": "urn:li:company:{company_id}",
   "companyApplyUrl": "http://linkedin.com",
   "description": "We are looking for a passionate Senior Software Engineer to design, develop and install software solutions. Software Engineer responsibilities include gathering user requirements, defining system functionality and writing code in various languages. Our ideal candidates are familiar with the software development life cycle (SDLC) from preliminary system analysis to tests and deployment.",
   "employmentStatus": "PART_TIME",
   "externalJobPostingId": "789",
   "listedAt": 1440716666,
   "jobPostingOperationType": "CREATE",
   "title": "Senior Software Engineer",
   "location": "San Francisco, CA"
  }
 ]
}
```

----------------------------------------

TITLE: cURL Command to Create LinkedIn Document Post
DESCRIPTION: Provides a complete cURL command example for sending a POST request to the LinkedIn API, including necessary headers and the full JSON payload, to create a sponsored document post.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/ads/advertising-targeting/version/document-ads

LANGUAGE: curl
CODE:
```
curl -X POST 'https://api.linkedin.com/rest/example' \
-H 'X-Restli-Protocol-Version: 2.0.0' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'Authorization: Bearer {INSERT_TOKEN}'\
--header 'Content-Type: application/json' \
--data-raw '{
   "adContext": {
       "dscAdAccount": "urn:li:sponsoredAccount:508915158",
       "dscStatus": "ACTIVE"
   },
  "author": "urn:li:organization:5515715",
  "commentary": "Sample Document Post",
  "visibility": "PUBLIC",
  "distribution": {
    "feedDistribution": "NONE",
    "thirdPartyDistributionChannels": []
  },
  "content":{
    "media":{
      "title":"title of the document",
      "id": "urn:li:document:C5F10AQGKQg_6y2a4sQ"
      }
    },
  "lifecycleState": "PUBLISHED",
  "isReshareDisabledByAuthor": true
}'
```

----------------------------------------

TITLE: API Error: UGC_INVALID_FEED_DISTRIBUTION
DESCRIPTION: Signifies that the specified feed distribution for User-Generated Content (UGC) is invalid. UGC content requires specific feed distributions: NONE for dark posts, MAIN_FEED for organic posts, and CONTAINER_ONLY for container posts.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/ads/account-structure/create-and-manage-creatives

LANGUAGE: APIDOC
CODE:
```
UGC_INVALID_FEED_DISTRIBUTION: 400 - Feed distribution {value} is invalid as UGC content should set NONE feed distribution for dark post, MAIN_FEED for organic posts, and CONTAINER_ONLY for container posts
```

----------------------------------------

TITLE: Create UGC Post Activity for Event Share (JSON Payload)
DESCRIPTION: This JSON payload represents the request body for creating a UGC post activity that shares content on a LinkedIn event page. It specifies the owner, the content to be shared (a simple text commentary), and links the post to a specific event using the 'containerEntity' field. The 'processedActivity' section shows how the platform might enrich the data with resolved entity details.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/compliance/integrations/compliance-events/resource-references/ugcposts

LANGUAGE: JSON
CODE:
```
{
  "owner": "urn:li:person:Ylpq-RobP9",
  "resourceId": "urn:li:ugcPost:123456789",
  "configVersion": 53,
  "method": "CREATE",
  "activity": {
    "lifecycleState": "PUBLISHED",
    "visibility": {
      "com.linkedin.ugc.MemberNetworkVisibility": "CONTAINER"
    },
    "specificContent": {
      "com.linkedin.ugc.ShareContent": {
        "shareMediaCategory": "NONE",
        "shareFeatures": {
          "hashtags": []
        },
        "shareCommentary": {
          "text": "Hello!"
        },
        "media": [],
        "shareCategorization": {}
      }
    },
    "firstPublishedActor": {
      "member": "urn:li:person:Ylpq-RobP9"
    },
    "author": "urn:li:person:Ylpq-RobP9",
    "created": {
      "actor": "urn:li:person:Ylpq-RobP9",
      "time": 1569543293839
    },
    "versionTag": "1",
    "distribution": {
      "feedDistribution": "MAIN_FEED"
    },
    "ugcOrigin": "DESKTOP",
    "containerEntity": "urn:li:event:123456789",
    "id": "urn:li:ugcPost:123456789",
    "lastModified": {
      "time": 1569543293912
    },
    "firstPublishedAt": 1569543293839
  },
  "resourceName": "ugcPosts",
  "resourceUri": "/ugcPosts/urn:li:ugcPost:123456789",
  "actor": "urn:li:person:Ylpq-RobP9",
  "activityId": "1b36d266-cfd6-4d8a-ad4d-0ed6c478f233",
  "processedAt": 1558380117783,
  "capturedAt": 1558380087104,
  "processedActivity": {
    "lifecycleState": "PUBLISHED",
    "specificContent": {
      "com.linkedin.ugc.ShareContent": {
        "shareMediaCategory": "NONE",
        "shareFeatures": {
          "hashtags": []
        },
        "shareCommentary": {
          "text": "Hello!"
        },
        "media": [],
        "shareCategorization": {}
      }
    },
    "author~": {},
    "visibility": {
      "com.linkedin.ugc.MemberNetworkVisibility": "CONTAINER"
    },
    "author": "urn:li:person:2qXA98-mVk",
    "created": {
      "actor": "urn:li:person:2qXA98-mVk",
      "actor~": {},
      "time": 1569543293839
    },
    "distribution": {
      "feedDistribution": "MAIN_FEED"
    },
    "ugcOrigin": "DESKTOP",
    "containerEntity": "urn:li:event:123456789",
    "containerEntity~": {
      "created": {
        "actor": "urn:li:person:2qXA98-mVk",
        "actor~": {},
        "time": 1569542293839
      },
      "localizedName": "My Event",
      "address": {
        "geographicArea": "California",
        "country": "US",
        "city": "San Francisco"
      },
      "organizer~": {},
      "organizer": "urn:li:person:2qXA98-mVk",
      "name": {
        "localized": {
          "en_US": "My Event"
        },
        "preferredLocale": {
          "country": "US",
          "language": "en"
        }
      },
      "description": {
        "localized": {
          "en_US": {
            "rawText": "My Event Description"
          }
        },
        "preferredLocale": {
          "country": "US",
          "language": "en"
        }
      },
      "id": 123456789,
      "localizedDescription": {
        "rawText": "Hello!"
      },
      "timeRange": {
        "start": 1570633200000,
        "end": 1570636800000
      }
    },
    "id": "urn:li:ugcPost:123456789",
    "firstPublishedAt": 1569543293839,
    "lastModified": {
      "time": 1569543293912
    }
  },
  "id": 841260
}
```

----------------------------------------

TITLE: Example: Create Comment on UGC Post
DESCRIPTION: Provides a concrete example of creating a comment on a specific UGC post, demonstrating the API endpoint and request body with placeholder values for organization ID and token.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/network-update-social-actions

LANGUAGE: http
CODE:
```
https://api.linkedin.com/rest/socialActions/urn%3Ali%3AugcPost%3A7096760097833439232/comments
```

LANGUAGE: json
CODE:
```
{
    "actor": "urn:li:organization:{{organization_id}}",
    "object": "urn:li:activity:7096760097833439232",
    "message": {
        "text": "commentV2 with image entity"
    }
}
```

LANGUAGE: curl
CODE:
```
curl --location --request POST 'https://api.linkedin.com/rest/socialActions/urn%3Ali%3AugcPost%3A7096760097833439232/comments' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'X-Restli-Protocol-Version: 2.0.0' \
-H 'Authorization: Bearer {insert token}'
--data '{
"actor":"urn:li:organization:79988552",
"object":"urn:li:activity:7096760097833439232",
"message":{
"text":"commentV2 with image entity"
}
}'
```

----------------------------------------

TITLE: Create DMP Segment Destination
DESCRIPTION: Demonstrates how to create a new destination for a DMP segment using a POST request. The request body specifies the `destination` as 'LINKEDIN'.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/matched-audiences/create-and-manage-segment-destinations

LANGUAGE: HTTP
CODE:
```
POST https://api.linkedin.com/rest/dmpSegments/11134/destinations

{
    "destination": "LINKEDIN"
}
```

LANGUAGE: cURL
CODE:
```
curl -X POST 'https://api.linkedin.com/rest/dmpSegments/11134/destinations' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'Content-Type: application/json' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'X-Restli-Protocol-Version: 2.0.0'\
--data '{
    "destination": "LINKEDIN"
}'
```

----------------------------------------

TITLE: LinkedIn Simple Job Posting API Endpoint (REST)
DESCRIPTION: The REST API endpoint for asynchronously submitting tasks to create, close, update, or renew one or more jobs on LinkedIn.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/talent/job-postings/api/create-jobs

LANGUAGE: APIDOC
CODE:
```
POST https://api.linkedin.com/rest/simpleJobPostings
```

----------------------------------------

TITLE: CREATE Method for New Entity Creation (LinkedIn API)
DESCRIPTION: The CREATE method indicates to a service that it should use the information provided in the request body to create a new entity. This method uses the traditional HTTP POST method.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/shared/api-guide/concepts/methods

LANGUAGE: APIDOC
CODE:
```
POST https://api.linkedin.com/v2/{service}/{Request Body}
```

----------------------------------------

TITLE: Create LinkedIn DMP Segment with POST Request
DESCRIPTION: This snippet demonstrates how to create a new DMP segment by sending a POST request to the LinkedIn API. It includes the API endpoint, a sample JSON request body with required fields like name, source platform, account, type, and destinations, and a corresponding cURL command for execution.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/matched-audiences/create-and-manage-segments

LANGUAGE: HTTP
CODE:
```
POST https://api.linkedin.com/rest/dmpSegments
```

LANGUAGE: JSON
CODE:
```
{
   "name":"DMP Segment 1",
   "sourcePlatform":"DMP_PARTNER_PLATFORM", // Name will be provided.
   "account":"urn:li:sponsoredAccount:516848833",
   "type":"USER",
   "destinations":[
      {
         "destination":"LINKEDIN"
      }
   ]
}
```

LANGUAGE: curl
CODE:
```
curl -X POST 'https://api.linkedin.com/rest/dmpSegments' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'Content-Type: application/json' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'X-Restli-Protocol-Version: 2.0.0' \
--data '{
   "name":"DMP Segment 1",
   "sourcePlatform":"DMP_PARTNER_PLATFORM", // Name will be provided.
   "account":"urn:li:sponsoredAccount:516848833",
   "type":"USER",
   "destinations":[
      {
         "destination":"LINKEDIN"
      }
   ]
}'
```

----------------------------------------

TITLE: Post LinkedIn Share API Request
DESCRIPTION: Demonstrates how to send a POST request to the LinkedIn Shares API, including the endpoint, sample JSON request body, and a cURL command example for creating new shares.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/share-api

LANGUAGE: http
CODE:
```
POST https://api.linkedin.com/v2/shares
```

LANGUAGE: json
CODE:
```
{
    "content": {
        "contentEntities": [
            {
                "entityLocation": "https://www.example.com/content.html",
                "thumbnails": [
                    {
                        "resolvedUrl": "https://www.example.com/image.jpg"
                    }
                ]
            }
        ],
        "title": "Test Share with Content"
    },
    "distribution": {
        "linkedInDistributionTarget": {}
    },
    "owner": "urn:li:person:324_kGGaLE",
    "subject": "Test Share Subject",
    "text": {
        "text": "Test Share!"
    }
}
```

LANGUAGE: curl
CODE:
```
curl -X POST 'https://api.linkedin.com/v2/shares' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'Content-Type: application/json' \
--data '{
    "content": {
        "contentEntities": [
            {
                "entityLocation": "https://www.example.com/content.html",
                "thumbnails": [
                    {
                        "resolvedUrl": "https://www.example.com/image.jpg"
                    }
                ]
            }
        ],
        "title": "Test Share with Content"
    },
    "distribution": {
        "linkedInDistributionTarget": {}
    },
    "owner": "urn:li:person:324_kGGaLE",
    "subject": "Test Share Subject",
    "text": {
        "text": "Test Share!"
    }
}'
```

----------------------------------------

TITLE: API Error Codes for Simple Job Postings
DESCRIPTION: Details common error responses for the `POST /simpleJobPostings` API endpoint, including HTTP status codes, response statuses, error messages, descriptions, and resolutions for each error.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/talent/job-postings/api/create-jobs

LANGUAGE: APIDOC
CODE:
```
Error Details for POST /simpleJobPostings:

- HTTP CODE: 200
  RESPONSE STATUS: 422
  ERROR MESSAGE: ERROR :: /{mandatory key} :: field is required but not found and has no default value
  DESCRIPTION: Required field is missing in the request body
  RESOLUTION: Refer to the schema documentation and ensure all the required fields are present in the request body

- HTTP CODE: 200
  RESPONSE STATUS: 422
  ERROR MESSAGE: ERROR :: /{attribute_name} :: {value} cannot be coerced to Long\n
  DESCRIPTION: When value of the attribute does not match the datatype it accepts. For example, `title` accepts String but we have provided numerical value
  RESOLUTION: Ensure that the value provided for attribute should match the datatype it accepts. Please refer to schema documentation for data types of the attributes

- HTTP CODE: 200
  RESPONSE STATUS: 422
  ERROR MESSAGE: ERROR :: /`jobPostingOperationType` :: "UPDATED" is not an enum symbol\n
  DESCRIPTION: Wrong value provided for the field `jobPostingOperationType`
  RESOLUTION: The value should either be one of `CREATE`, `UPDATE` or `CLOSE`

- HTTP CODE: 200
  RESPONSE STATUS: 400
  ERROR MESSAGE: The `workplaceTypes` field cannot have more than one value provided. Provided values [..]
  DESCRIPTION: `workplaceTypes` field accepts an array of only one element, but the request contains more than one elements for `workplaceTypes` field
  RESOLUTION: Ensure that `workplaceTypes` field is an array with only one element (one of the following: `On-Site`, `Hybrid`, `Remote`)

- HTTP CODE: 400
  RESPONSE STATUS: 400
  ERROR MESSAGE: Invalid company apply url for job with externalPartnerId {externalJobPostingId}, taskUrn urn:li:simpleJobPostingTask:{taskID}
  DESCRIPTION: The URL specified for the job posting is in an invalid format
  RESOLUTION: Ensure the url specified is in a valid url

- HTTP CODE: 400
  RESPONSE STATUS: 400
  ERROR MESSAGE: Either `context` or `company` or `companyPageUrl` or `companyName` must be provided
  DESCRIPTION: Integration context company field is missing
  RESOLUTION: All jobs are associated with company page. You can provide this value with either of the schema fields listed in the error messages

- HTTP CODE: 401
  RESPONSE STATUS: 401
  ERROR MESSAGE: Invalid access token
  DESCRIPTION: Access token is tampered
  RESOLUTION: Regenerate a new access token

- HTTP CODE: 401
  RESPONSE STATUS: 401
  ERROR MESSAGE: The token used in the request has expired
  DESCRIPTION: The access token used in Authorization header is a valid token but it has expired
  RESOLUTION: Regenerate a new access token

- HTTP CODE: 402
  RESPONSE STATUS: 402
  ERROR MESSAGE: Insufficient job slots for contract = urn:li:contract:{contract_id} for purchase flow
  DESCRIPTION: All job slots associated with the supplied contract are used
  RESOLUTION: Please ask the customer to reach out to LinkedIn's customer support to purchase more Job Slots with LinkedIn or Close some existing Premium Job Postings to free up Job Slots. To know more refer to LinkedIn [help center article](https://www.linkedin.com/help/linkedin/answer/a417111?lang=en). If this issue is occurring frequently in your development environment please create a ticket on Zendesk Platform

- HTTP CODE: 402
  RESPONSE STATUS: 402
  ERROR MESSAGE: Insufficient lifetime budget for contract: urn:li:contract:{contract_id}
  DESCRIPTION: For FP4P jobs PAYMENTS_INSUFFICIENT_FUNDS contract has exhausted allocated budget for premium job posting. Contract monthly limits can be setup within LinkedIn Recruiter
  RESOLUTION: Please validate contract limit per month or sufficient balance before posting a premium job

- HTTP CODE: 403
  RESPONSE STATUS: 403
  ERROR MESSAGE: Caller is not authorized to access the jobs for contract: urn:li:contract:{contract_id}
  DESCRIPTION: The application used for posting premium job does not belong to the Job posting contract
  RESOLUTION: 1. Ensure that you are using the correct contract details provided in the Premium Job Posting onboarding email   2. Ensure that you are using the correct application credentials

- HTTP CODE: 403
  RESPONSE STATUS: 403
  ERROR MESSAGE: Not enough permissions to access: POST /simpleJobPostings
  DESCRIPTION: The application does not have enough permissions to use /simpleJobPostings API
  RESOLUTION: Ensure that the header x-restli-method with value batch_create is present

- HTTP CODE: 403
  RESPONSE STATUS: 403
  ERROR MESSAGE: Unpermitted fields present in REQUEST_BODY: Data Processing Exception while processing fields [/elements]
  DESCRIPTION: Value for Request Header: `x-restli-method: batch_create` is not provided
  RESOLUTION: Ensure that value for Request Header: `x-restli-method: batch_create` is provided

- HTTP CODE: 403
  RESPONSE STATUS: 403
  ERROR MESSAGE: Caller is not authorized to access the fp4p contract
  DESCRIPTION: Customer is unable to post premium jobs after widget opt-in
  RESOLUTION: Pay for performance contract customers need to enable toggle for posting of promoted jobs with a LinkedIn recommended budget using the [Job Posting API](overview?view=li-lts-2025-04) (Partner Integrations)

- HTTP CODE: 403
  RESPONSE STATUS: 403
  ERROR MESSAGE: Not enough permissions to access: POST (Name)
  DESCRIPTION: Access token is generated from the application which does not have permission to access this resource
  RESOLUTION: Use Partner application for creating child application, all other resources should be requested using child applications
```

----------------------------------------

TITLE: API Documentation for Dark UGC Posts
DESCRIPTION: This section provides conceptual API documentation for creating 'Dark UGC Posts'. These posts are designed for Ad Campaigns as Direct Sponsored Content (DSC) and do not appear as organic content on a LinkedIn company page. It outlines the specific author and visibility settings required for such posts and references further documentation for integration into ad campaigns.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/ugc-post-api

LANGUAGE: APIDOC
CODE:
```
Dark UGC Posts:
  Purpose: Create content for Ad Campaigns (Direct Sponsored Content) without appearing organically on a company page.
  Author: urn:li:organization:{id}
  Visibility: visibility.com.linkedin.ugc.SponsoredContentVisibility = DARK
  Usage: Requires additional steps for Ad Campaign integration. Refer to 'Direct Sponsored Content Overview' and 'Video Ads' documentation for details.
```

----------------------------------------

TITLE: Sample Request Body for Job Posting Creation/Update
DESCRIPTION: Illustrates the JSON structure for creating or updating a job posting, including detailed configuration for onsite application questions like voluntary self-identification, education, work experience, and custom questions with multiple-choice options. The 'questionText' field supports basic HTML formatting.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/talent/apply-connect/sync-jobs-onsite-apply

LANGUAGE: json
CODE:
```
{
 "elements": [
  {
   "externalJobPostingId": "external-job-id-0001",
   "title": "Test Job",
   "description": "Lorem Ipsum is simply. . .",
   "integrationContext": "urn:li:organization:1234",
   "listedAt": 1558045934000,
   "jobPostingOperationType":"CREATE",
   "location": "Enterprise, UT",
   "availability": "PUBLIC",
   "industries": [
    "urn:li:industry:3"
   ],
   "categories": [
    "advr"
   ],
   "trackingPixelUrl": "http://localhost:5000/jobs/tracking",
   "companyApplyUrl": "http://localhost:5000",
   "posterEmail": "[email protected]",
   "onsiteApplyConfiguration": {
    "jobApplicationWebhookUrl": "https://customer-webhook.com/api/webhook",
    "questions": {
     "voluntarySelfIdentificationQuestions": {},
     "educationQuestions": {
      "educationExperienceQuestionSet": {}
     },
     "workQuestions": {
      "workExperienceQuestionSet": {}
     },
     "additionalQuestions": {
      "customQuestionSets": [
       {
        "repeatLimit": 1,
        "questions": [
         {
          "required": true,
          "partnerQuestionIdentifier": "question1",
          "questionText": "Please choose the right answer",
          "questionDetails": {
           "multipleChoiceQuestionDetails": {
            "choices": [
             {
              "symbolicName": "wrong",
              "displayValue": "This is the wrong answer"
             },
             {
              "symbolicName": "right",
              "displayValue": "This is the correct answer"
             },
             {
              "symbolicName": "right2",
              "displayValue": "This is also the correct answer"
             }
            ],
            "selectMultiple": false,
            "defaultValueSymbolicName": "right",
            "preferredFormComponent": "DROPDOWN",
            "favorableMultipleChoiceAnswer": {
             "favorableSymbolicNames": [
              "right",
              "right2"
             ]
            }
           }
          }
         }
        ]
       }
      ]
     }
    }
   }
  }
 ]
}
```

----------------------------------------

TITLE: Common UGC Post Creation Errors
DESCRIPTION: This section details common error codes and messages that may be encountered when attempting to create User Generated Content (UGC) Posts via the LinkedIn API. It provides insights into the cause of each error and potential solutions.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/ugc-post-api

LANGUAGE: APIDOC
CODE:
```
Error Codes for UGC Post Creation:
- Code: 400
  Message: urn:li:developerApplication:{developer application ID} does not have permission to create ugc posts
  Description: Your developer application is not allowlisted for video UGC Post creation. Restricted to approved applications.
- Code: 400
  Message: Error parsing request body to json Unrecognized character escape
  Description: Request payload contains incorrect character escaping (e.g., "It\'s a test"). Review and remove unnecessary escapes.
- Code: 400
  Message: Post should only contain 1 set of targeting criteria
  Description: The `targetedEntities` field has more than one targeting object. Refer to documentation for correct structure.
- Code: 400
  Message: Target audience does not meet 300 follower minimum
  Description: Targeted audience is too small; must have at least 300 members. See documentation for audience count calculation.
- Code: 401
  Message: Member is unauthorized to create UserGeneratedContent
  Description: Authenticated member lacks permission to create content on the specified company page.
- Code: 403
  Message: Not enough permissions to access: POST {endpoint}
  Description: Token lacks required permissions. Generate a new token with `w_organization_social` or `w_member_social` scope.
- Code: 409
  Message: Write conflict due to an internal UGC error. Please retry the create operation.
  Description: (No specific description provided in source, implies a transient conflict)
- Code: 422
  Message: Content is a duplicate of {share or UGC URN}
  Description: UGC Post is an exact duplicate of a recently created one. Wait 10 minutes or modify content.
- Code: 422
  Message: Error validating the post
  Description: Error in post (e.g., missing required field, field too long). Error message will provide details.
- Code: 429
  Message: UGC action was blocked because a share limit has been reached
  Description: Author has reached maximum daily share limit.
- Code: 429
  Message: Resource level throttle {period} limit for calls to this resource is reached.
  Description: Developer application has reached maximum call limit for this resource within the given time period.
```

----------------------------------------

TITLE: Create Dynamic Job Ad Creative via API
DESCRIPTION: Demonstrates how to create a new Dynamic Job Ad Creative by sending a POST request to the LinkedIn API. The request body includes content details for the job ad, campaign ID, and intended status. A successful response returns a 201 Created status and the creative ID.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/ads/advertising-targeting/version/jobs-ads-integrations

LANGUAGE: HTTP
CODE:
```
POST https://api.linkedin.com/rest/creatives
```

LANGUAGE: JSON
CODE:
```
{
    "content": {
        "jobs": {
            "organizationName": "Test Company Name",
            "logo": "urn:li:image:C4E22AQExxAnf-VY49w",
            "headline": {
                "preApproved": "MEMBER_NEED_A_NEW_CHALLENGE_WE_CAN_HELP"
            },
            "buttonLabel": {
                "preApproved": "CAREERS_AT_COMPANY"
            },
            "showMemberProfilePhoto": true
        }
    },
    "campaign": "urn:li:sponsoredCampaign:190357284",
    "intendedStatus": "ACTIVE"
}
```

LANGUAGE: curl
CODE:
```
curl --location --request POST 'https://api.linkedin.com/rest/creatives' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'Content-Type: application/json' \
-H 'X-Restli-Protocol-Version: 2.0.0'\
--data '{
    "content": {
        "jobs": {
            "organizationName": "Test Company Name",
            "logo": "urn:li:image:C4E22AQExxAnf-VY49w",
            "headline": {
                "preApproved": "MEMBER_NEED_A_NEW_CHALLENGE_WE_CAN_HELP"
            },
            "buttonLabel": {
                "preApproved": "CAREERS_AT_COMPANY"
            },
            "showMemberProfilePhoto": true
        }
    },
    "campaign": "urn:li:sponsoredCampaign:190357284",
    "intendedStatus": "ACTIVE"
}'
```

----------------------------------------

TITLE: LinkedIn Simple Job Posting API Endpoint (v2)
DESCRIPTION: The v2 API endpoint for asynchronously submitting tasks to create, close, update, or renew one or more jobs on LinkedIn.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/talent/job-postings/api/create-jobs

LANGUAGE: APIDOC
CODE:
```
POST https://api.linkedin.com/v2/simpleJobPostings
```

----------------------------------------

TITLE: LinkedIn Posts API Reference
DESCRIPTION: This entry refers to the LinkedIn Posts API, which is used for managing user-generated content (UGC) posts. It provides a link to the official API documentation for detailed information on endpoints, request/response formats, and available operations related to creating, retrieving, updating, and deleting posts.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/multiimage-post-api

LANGUAGE: APIDOC
CODE:
```
Posts API: Reference documentation for managing LinkedIn User-Generated Content (UGC) posts. Provides details on endpoints, request/response formats, and operations for creating, retrieving, updating, and deleting posts. (Link: posts-api?view=li-lms-2025-06)
```

----------------------------------------

TITLE: JSON Sample Response for Successful Job Posting (Detailed)
DESCRIPTION: This JSON snippet provides a more detailed successful response body for a job posting request, including location, ID, entity details like externalJobPostingId, and status for each posted job task.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/talent/job-postings/api/create-jobs

LANGUAGE: JSON
CODE:
```
{
    "elements": [
        {
            "location": "/simpleJobPostings/urn%3Ali%3AsimpleJobPostingTask%3A33349175-1da5-48b4-a3a6-abfd9248bdc6",
            "id": "urn:li:simpleJobPostingTask:33349175-1da5-48b4-a3a6-abfd9248bdc6",
            "entity": {
                "externalJobPostingId": "Job1234"
            },
            "status": 202
        },
        {
            "location": "/simpleJobPostings/urn%3Ali%3AsimpleJobPostingTask%3A2f46fde5-bccb-4750-ab9c-99e02359fb6b",
            "id": "urn:li:simpleJobPostingTask:2f46fde5-bccb-4750-ab9c-99e02359fb6b",
            "entity": {
                "externalJobPostingId": "Job2345"
            },
            "status": 202
        }
    ]
}
```

----------------------------------------

TITLE: API Error: SPONSORED_UPDATE_JOB_POSTING_NON_SHARING_CONTENT
DESCRIPTION: Signifies that a sponsored update job posting creative is attributed as non-shareable, which is not allowed.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/ads/account-structure/create-and-manage-creatives

LANGUAGE: APIDOC
CODE:
```
SPONSORED_UPDATE_JOB_POSTING_NON_SHARING_CONTENT: 400 - Sponsored update job posting creative cannot be attributed as non-shareable
```

----------------------------------------

TITLE: Verify User Permission to Create Video Ad Dark Post
DESCRIPTION: This endpoint verifies if a user has the necessary permissions (rw_ads) to create a Video Ad Dark post for a given organizational entity. It returns a status indicating approval or denial.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/integrations/ads/account-structure/account-access-controls

LANGUAGE: HTTP
CODE:
```
GET https://api.linkedin.com/rest/organizationalEntityCreateShareAuthorizations/owner=urn:li:company:5590506&loggedInMember=urn:li:person:LBSWch4wcA&agent=urn:li:sponsoredAccount:517753843
```

LANGUAGE: curl
CODE:
```
curl -X GET 'https://api.linkedin.com/rest/organizationalEntityCreateShareAuthorizations/owner=urn:li:company:5590506&loggedInMember=urn:li:person:LBSWch4wcA&agent=urn:li:sponsoredAccount:517753843' \
-H 'X-Restli-Protocol-Version: 2.0.0' \
-H 'Authorization: Bearer {INSERT_TOKEN}'\
-H 'Linkedin-Version: {version number in the format YYYYMM}'
```

LANGUAGE: JSON
CODE:
```
{
    "status": {
        "com.linkedin.sharingauth.Denied": {}
    }
}
```

LANGUAGE: JSON
CODE:
```
{
    "status": {
        "com.linkedin.sharingauth.Approved": {}
    }
}
```

----------------------------------------

TITLE: Create a Like on a LinkedIn Share, Post, or Comment
DESCRIPTION: This snippet illustrates how to create a 'like' action on a LinkedIn share, UGC post, or comment. It provides the HTTP endpoint, the JSON payload for the like, and a cURL command example. The 'object' field specifies the URN of the entity to be liked, and the 'actor' field specifies the URN of the entity performing the like.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/marketing/community-management/shares/network-update-social-actions

LANGUAGE: http
CODE:
```
POST https://api.linkedin.com/rest/socialActions/{shareUrn|ugcPostUrn|commentUrn}/likes
```

LANGUAGE: json
CODE:
```
{
    "actor": "urn:li:person:0XV6h162Ub",
    "object": "urn:li:share:6280442346811207680"
}
```

LANGUAGE: curl
CODE:
```
curl -X POST 'https://api.linkedin.com/rest/socialActions/{shareUrn|ugcPostUrn|commentUrn}/likes' \n-H 'Authorization: Bearer {INSERT_TOKEN}' \n-H 'LinkedIn-Version: {version number in the format YYYYMM}' \n-H 'Content-Type: application/json' \n-H 'X-Restli-Protocol-Version: 2.0.0'\n--data '{ "actor": "urn:li:person:0XV6h162Ub", "object": "urn:li:share:6280442346811207680" }'
```

----------------------------------------

TITLE: Create LinkedIn Job Posting Request Body
DESCRIPTION: JSON payload examples for creating new job postings on LinkedIn. These examples demonstrate the structure for various job types, including premium and internal-only jobs. Key fields include `externalJobPostingId`, `listingType`, `title`, `description`, `contract`, `company` or `integrationContext` for organization association, `companyApplyUrl`, `location`, `listedAt` (timestamp), and `jobPostingOperationType`. It also shows how to include `industries` and `posterEmail`. Note that `contract` information is mandatory for promoted jobs, and `availability: INTERNAL` is required for internal-only jobs. Requests should not include duplicate updates for the same `externalJobPostingId`.

SOURCE: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2/talent/job-postings/api/create-jobs

LANGUAGE: JSON
CODE:
```
{
   "elements":[
      {
         "externalJobPostingId":"PremiumJobPostingG1TC1",
         "listingType":"PREMIUM",
         "title":"Premium Job Posting G1 TC1",
         "description":"<b>Objective of the Position</b><br/> <ul> <li>To develop digital content plan, manage and monitor different content executions for social and online platforms to maximize the communication effectiveness and impact</li> <li>To manage, monitor and keep optimizing the performance of social platforms of MB and AMG</li> <li>To monitor and manage internet word of mouth to keep the health of brand and product image</li></ul>",
         "contract":"urn:li:contract:{your_contract_id}",
         "integrationContext":"urn:li:organization:{your_organization_id_01}",
         "companyApplyUrl": "http://linkedin.com/jobpostingG1TC1",
         "location":"San Francisco, CA",
         "listedAt":1513756352000,
         "jobPostingOperationType":"CREATE"
      },
      {
         "externalJobPostingId":"PremiumJobPostingG1TC2",
         "listingType":"PREMIUM",
         "title":"Premium Job Posting G1 TC2",
         "description":"<b>G1 TC2: Objective of the Position</b><br/> <ul> <li>To develop digital content plan, manage and monitor different content executions for social and online platforms to maximize the communication effectiveness and impact</li> <li>To manage, monitor and keep optimizing the performance of social platforms of MB and AMG</li> <li>To monitor and manage internet word of mouth to keep the health of brand and product image</li></ul>",
         "contract":"urn:li:contract:{your_contract_id}",
         "industries":["urn:li:industry:4", "urn:li:industry:99"],
         "integrationContext":"urn:li:organization:{your_organization_id_02}",
         "companyApplyUrl": "http://linkedin.com/jobpostingG1TC2",
         "location":"San Francisco, CA",
         "listedAt":1513756352000,
         "jobPostingOperationType":"CREATE",
         "posterEmail":"stub@your_poster_email_address"
      }
   ]
}
```

LANGUAGE: JSON
CODE:
```
{
   "elements":[
      {
         "externalJobPostingId":"PremiumJobPostingG1TC1",
         "listingType":"PREMIUM",
         "title":"Premium Job Posting G1 TC1",
         "description":"<b>Objective of the Position</b><br/> <ul> <li>To develop digital content plan, manage and monitor different content executions for social and online platforms to maximize the communication effectiveness and impact</li> <li>To manage, monitor and keep optimizing the performance of social platforms of MB and AMG</li> <li>To monitor and manage internet word of mouth to keep the health of brand and product image</li></ul>",
         "contract":"urn:li:contract:{your_contract_id}",
         "company": "urn:li:company:{company_id}",
         "companyApplyUrl": "http://linkedin.com/jobpostingG1TC1",
         "location":"San Francisco, CA",
         "listedAt":1513756352000,
         "jobPostingOperationType":"CREATE"
      },
      {
         "externalJobPostingId":"PremiumJobPostingG1TC2",
         "listingType":"PREMIUM",
         "title":"Premium Job Posting G1 TC2",
         "description":"<b>G1 TC2: Objective of the Position</b><br/> <ul> <li>To develop digital content plan, manage and monitor different content executions for social and online platforms to maximize the communication effectiveness and impact</li> <li>To manage, monitor and keep optimizing the performance of social platforms of MB and AMG</li> <li>To monitor and manage internet word of mouth to keep the health of brand and product image</li></ul>",
         "contract":"urn:li:contract:{your_contract_id}",
         "industries":["urn:li:industry:4", "urn:li:industry:99"],
         "company": "urn:li:company:{company_id}",
         "companyApplyUrl": "http://linkedin.com/jobpostingG1TC2",
         "location":"San Francisco, CA",
         "listedAt":1513756352000,
         "jobPostingOperationType":"CREATE",
         "posterEmail":"stub@your_poster_email_address"
      }
   ]
}
```